Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Members only page

Status
Not open for further replies.

limejudo

Technical User
Aug 4, 2004
110
US
Can someone point me in the right direction? I have no experience w/ creating a "members only section, w/ registation and username and password. If you know of a good site I would greatly appreciated it.



Eric - A+, Net+, INet+ CCNA next week.
Network Admin/Helpdesk II
 
You'll need to use some kind of server side technology to do that...ie, asp,asp.net,php,cfm,jsp...

Which we should have forums for :) I'm sure ppl in the forums will be glad to help you get started once you pick out a language.



All hail the INTERWEB!
 
As stated, you will need to use a server side technology (choose your favourite).

For PHP at least, the process could go something like:
[ol]
[li]Create a form and get the submitted data - you would probably want to create forms to allow people to register and accompanying scripts to write their login data to the database[/li]
[li]Check it against the database of username->password pairs[/li]
[li]If it's a match, write a session variable that says "Access allowed"[/li]
[li]At the top of each protected page, check for the presence of said session variable. If it's not there, throw the user to the login/registration form[/li]
[/ol]
PHP - Forum434
ASP - Forum333

Foamcow Heavy Industries - Web design and ranting
Toccoa Games - Day of Defeat gaming community
Target Marketing Communications - Advertising, Direct Marketing and Public Relations
"I'm making time
 
Depending on the complexity (or simplicity) that you require, most web servers already have some method of authentication built-in.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top