Click here to Skip to main content
15,879,326 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
i have created a login page in asp.net;whenever a user successfully log in it will show "Welcome..user"My problem is if the same user login for the second time,i want to display "WELCOME BACK.... USER".How do i do that with sessions in asp.net?Please help......
Posted

Better you save login history at database side, check it its loggedIn, do necessary things
 
Share this answer
 
Its always an best practice to use Database Table to keep track of how many users are having active and had active session you can always check that user is active or not and also can save other information as well(e.g User login Ip address)
 
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