Dear Expert,
I have to store user detail and password in the cookies so that i can detect
if particular user is allowed to enter certain website
Example is like this:
User "A" is allowed to enter student page
User "B" is allowed to enter lecturer page
Both have to enter password with login at login page
When User "A" enter ,the cookies will store User "A" name,when he enters the
lecturer page,he will be directed to login page again(because he is not
allowed to enter lecturer page) and so do User "B".
BUT THE PROBLEM HAPPENS LIKE THIS:
When User "A" enters ,and then User "B" enters,User "B" CAN ENTER THE
STUDENT PAGE AND THE COOKIES STORE USER USER "A" VALUE.BUT WHEN I REFRESH IT
,THE COOKIES WILL STORE NOTHING AND REDIRECT TO LOGIN PAGE.
Can i know what the problem is?
Thank you very much,it is really annoying me because someone can enter other
page if other has used that before
Sincerely Yours
Hendry Sumilo
[EMAIL PROTECTED]
http://members.tripodasia.com.my/hsumilo
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]