|
-
Mar 13th, 2006, 02:55 AM
#1
Secure Login System
I've done lots of PHP programs but never any that required any kind of login system so I was wondering what's the most secure way to create one.
Would it be via the use of Sessions or Cookies or something else? How do you allow someone to verify their information and stay logged in until they log out? And how would you handle the log out?
Everytime I've tried to look this up, every site seems to have a completely different way to do it so I didn't know if there was ways that should be avoided or ways that should be used.
Thanks
Also, if anyone has a very very bare bones example that would be appreciated (but not necessary).
-
Mar 13th, 2006, 10:47 AM
#2
Junior Member
Re: Secure Login System
It depends Sessions can be better to use as the user could have cookies disabled! However without the right protection anyone could get that Session ID and view what that user was viewing.
It's quite hard to explain it all from scratch so i would advise looking at this...
http://arutha.co.uk/viewtut.php?tutorialid=24
or
http://www.pixel2life.net
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|