Hello,
I'm working on Remember me Check box on login i'm creating cookies. These cookies are properly save on cookies when logout then its assign username to user name text box not for password. Why Password is not assigned? and second when i closed the page and then open this page nothing in cookie and not display any data on text boxes.
What should I do? Please help me
Thanks in advance.....................
Rahul Kumar SaxenaPosted Apr 8, 2008, 6:43 AM
Hi HINA well on load event of ur default page U can do this
if
((!object.Equals(Request.Cookies["UserIdCookieName"], null)) && (!object.Equals(Request.Cookies["PasswordCookieName"], null))){
if ((!object.Equals(Request.Cookies["UserIdCookieName"].Value, "")) && (!object.Equals(Request.Cookies["PasswordCookieName"].Value, "")))// Your Login Process Store ur Cookies value into session in which u r saving ur information after Login
}