Click here to Skip to main content
15,886,258 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello friends,

I have created a login page.

during login it creates cookies and works well. but when i open this page again , it reset the cookie. How to stop that.

I have tried a lot with "if and else" but could'nt make the logic.
Posted
Comments
darshan559 12-Jul-12 2:55am    
Hi Mahesh , Check out the browser properties ..whether cookies s getting cleared wen u close the browser ....unselect "clear cookies" in delete browsing history.... or else set expire time ( for instance 120 min)...wen u create cookie
graciax8 12-Jul-12 3:25am    
post your code so we can see.
ZurdoDev 12-Jul-12 8:29am    
You need to show the code so we can help.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900