Hi! I am currently writing a login script and need to implement cookie authentication. here is my problem. I have a form which submits the username and password to a php script which encrypts the strings then compares them with already encrypted information in my database. Depending on the correct matches, the user will be sent to the restricted page or asked to log in again. Now, once the user is logged in, I want to be able to write a cookie on his sytem, containing the encrypted username and password. Now, how do I pass the encrypted username and password from one script to another? That is the only thing stopping me from completing this section of the code!
Any help is greatly appreciated!
Sincerely,
André
http://www.clubaxxess.com