View Single Post
Old Dec 2nd, 2005, 11:49 PM   #10
Mocker
Hobbyist Programmer
 
Mocker's Avatar
 
Join Date: Oct 2005
Location: Indiana
Posts: 218
Rep Power: 0 Mocker is an unknown quantity at this point
Send a message via AIM to Mocker
the webserver has a setting for php which decides to store sessions as cookies only, or as cookies first and get/post as fallback, or just get/post. GET is pretty insecure to have your information in.
Normal login steps are.
Have a form to enter login information
Send form via POST to a php script
Have the php script verify login information
Have the script start a session (search for session at php.net for functions) with your username or some other identifier
Whenever you need to use that information, access it through $_SESSION['variable']
__________________
#programmingforums relay - http://thegupstudio.com/cgi-bin/pforelay.cgi
freelance scripts - http://ryanguthrie.com/index.html
Mocker is offline   Reply With Quote