Click here to Skip to main content
12,999,633 members (52,461 online)
Rate this:
Please Sign up or sign in to vote.
See more:

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 15-Oct-12 20:12pm
Updated 15-Oct-12 21:07pm
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 .....
Rate this: bad
Please Sign up or sign in to vote.

Solution 1


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.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

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/ feature to update the login information of the page.

Hope this will help you.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170624.1 | Last Updated 16 Oct 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100