Click here to Skip to main content
15,885,244 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
i have created login page using c# and sql database.
Is there any code for remember me option in login page using sql stored procedure and c#
Posted

1 solution

Why would you want to do that?

Think about it: if you store the "remember me" stuff in the database, how do you tell which user you are supposed to be logging in automatically, unless they tell you who they are? Which defeats the purpose of a "remember me" rather a lot, really...

Store it in a Cookie instead, like everyone else does!
 
Share this answer
 

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