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



in my site last login id will display all member who browse my site.

can u help me to solve this remove last login id...??????
i will use coockie and then take session from cookie.

Ex: memberA and memberB

once memberA login my site and browse.
and he/she leave pc without logout.

and then other memberB browse my site and login it but then he got login id of memberA. he don't get his login id in my site.
Posted
Updated 15-Oct-12 21:07pm
v2
Comments
n.podbielski 16-Oct-12 2:16am    
I read it few times and still dont have idea what you asking.
vivektiwari97701 16-Oct-12 2:17am    
it is not possible to know without code ...update ur question with your code .....

Hi,

Possible issue is you have used static variable to store the last login id. or you may store it in table and fetch from all the system.

If you are using windows application then use public variable or property to access it from other forms. and if you are using web application then use Session variable.

Hope you resolve your query soon.

best luck.
 
Share this answer
 
Please check if you have used output cache in your application. If yes then remove the output cache and then check or you can use javascript/asp.net feature to update the login information of the page.

Hope this will help you.
 
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