Forum Home
Press F1
 
Thread ID: 47079 2004-07-15 07:31:00 Password in Webpages Kerry B (631) Press F1
Post ID Timestamp Content User
252499 2004-07-15 07:31:00 Hi Everyone,
I have created a new site that contains a members area that our group members will log into. However - when you leave the members section, it leaves you logged in until you close the browser.

I am using Frontpage 2003, but the members section is set up on the host server.
Does anyone know what command I can enter into the page to create a 'log out' situation, where by the user is returned to the main page, and has to log in again to the members area?

Thanks in advance

Kerry :)
Kerry B (631)
252500 2004-07-15 10:16:00 <bump>
someone must know. I have not clue one about this sort of thing.
robo.
robo (205)
252501 2004-07-15 10:34:00 > Does anyone know what command I can enter into the
> page to create a 'log out' situation, where by the
> user is returned to the main page, and has to log in
> again to the members area?

I think to do want you want to do you may need some JavaScript to do that?

Can you edit the pages in the members section?

Also is it just HTML pages?
stu120404 (268)
252502 2004-07-15 11:58:00 Log Out (<%=MM_Logout%>) Rob99 (151)
252503 2004-07-17 01:28:00 Hi, Yes I can edit them using Frontpage 2003.

In there I can also edit the HTML code if required - but I am very much a novice with HTML.

Thanks
Kerry B (631)
252504 2004-07-17 01:32:00 fire up frontpage,press the f1 key(handy wee thing,brings up the instuction manual . . . . . what a novel concept)click answer wizard and enter PASSWORD into the search feild,and you will be rewarded with thus:


Create a user registration form
You can restrict access to a protected web, or monitor access to a web, by creating a user registration form in which site visitors log in by typing a user name and password .

To protect a web, specify which users are allowed access, then the Registration Form Handler authenticates against this user list to allow only registered users to access the web .
To monitor access to a web, the Registration Form Handler saves the user names of site visitors who have accessed your web .
Note Windows NT security and Microsoft Internet Information Services (IIS) do not allow registration through a Web browser .

The registration form must be saved to the root web, not the Web site itself . For example, if the protected Web site is Root the form must be saved in Root . Create the protected Web site before you create this form .

The easiest way to create a registration form is by using the User Registration page template .

Open your root web .
On the File menu, point to New, and then click Page .
On the General tab, click User Registration, and then click OK .
FrontPage creates a user registration form, and assigns it the Registration Form Handler .

Right-click the form, and then click Form Properties on the shortcut menu .
Click Options, and then click the Registration tab .
In the Web name box, type the name of the protected Web site .
Click the File Results tab . The file in which the user names of site visitors are saved is displayed in the File name box . By default, this file is located in the _private folder of the root web .
Click OK, and then click OK again .
Customize the fields on the form as needed . For example, change the phrase [OtherWeb] to the name of your protected Web site, customize the instructions on the form, and change the text labels on the fields .
Click the Save button and save your page .
If you want to protect a web, open the web, and do the following:

On the Tools menu, point to Security, and then click Permissions .
On the Settings tab, click Use unique permissions for this web, and then click Apply .
Click the Users tab, and then click Only registered users have browse access .
Click Add .
Next, you will add the users to the web, adding users for browse, author, and administer access separately . For example, you will add all the users with browse access separately from users with author access .

If you are using a Web server that supports a domain hierarchy, in the Obtain list from box, select the domain or group from which you want to select users .
In the Names box, select or type a user name, and then click Add .
Repeat steps 5 and 6 for each user you want to add for a particular type of access .

Specify the type of access to give to the list of users you are adding (browse, author, or administer access), and then click OK .
The same permission is given to all users listed in the Add Names box . To set different permissions, for example to give one user browse access and a different user author access, repeat steps 4 through 7 for each user .

Tip To test your user registration form, preview it in your Web browser by clicking the Preview in Browser button
metla (154)
1