Dnx_7
asked on
Update LastActivity of user in asp.net membership
Hi experts
i use a gridview to get all users of the membership class and i also get the "isOnline" column
how can i update this column in real time for each user?
for now, the user is only online when the use just logged in and after 15 minutes the user is offline...
i read on msdn that the IsOnline is TRUE only if the (lastactivity + 15 minutes) > now
and they advice me to use "membership.updateuser(mem bershipUse r) but it doesn't work
can somebody help me to get user Online in real time...
regards
i use a gridview to get all users of the membership class and i also get the "isOnline" column
how can i update this column in real time for each user?
for now, the user is only online when the use just logged in and after 15 minutes the user is offline...
i read on msdn that the IsOnline is TRUE only if the (lastactivity + 15 minutes) > now
and they advice me to use "membership.updateuser(mem
can somebody help me to get user Online in real time...
regards
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
suppose that a user logged in then idle for 30 minutes (no request to server)
the user will be consider Online if i extend the time.
right?
it is surely a part of the solution but i want to update the lastActityDate for almost each request to the webserver
is it possible?
regards