I’ll try and put my problem as simply as possible:
I have a members only site. and on the site is a “who’s is online” page and it also tells you where on the site they are.
My pages are session controlled and set to 30 mins. So if members have no activity or forget to log out, their sessions ends after 30 mins and their name disappears after 30 mins from the “Who is online page”.
My problem/question is:
If a member logs out through the log out button (and doesn’t just close the window without logging out properly) and the session is destroyed should their name disappear from the “who is online” page straight away?
If i log in and out then log in again i don’t increment my hits counter which is on my “Site Stats” page. Would this be because the session is for 30 mins and it thinks i’m still logged in, thus not enabling me to re-enter another “hit”?
I hope i made that clear and someone can help.
I didn’t originate that part of the script and i just need to check it’s working properly or rather how it should do.