Last visit time changing in Active Topics...
Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=23475
Printed Date: 07 April 2026 at 11:06am Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com
Topic: Last visit time changing in Active Topics...
Posted By: disrael
Subject: Last visit time changing in Active Topics...
Date Posted: 06 June 2007 at 8:59pm
I have a large group of users who love the Active topic. However, sometimes the Last Visited selection (first in the droplist selection) changes on them. I haven't been able to get them to narrow down what is it that causes the Last Visit to change.
One person just called and told me that he logged in at 2pm shortly after, it changed the Last Visit to 2:05 and he lost everything he was looking at (well, he didn't LOSE it, but you know what I mean...). I looked at the code and there seems to be something that updates the cookie if it's more than 5 minutes old... Could this be causing it? Or is he doing sometihng that's changing the LV flag in his session?
Thanks for any pointers...
------------- -D. Israel
|
Replies:
Posted By: WebWiz-Bruce
Date Posted: 07 June 2007 at 9:07am
The time will be lost if the servers application pool recycles and all the forums data wiped from the servers memory.
Contact your web hosts about the times that it's application pool recycles.
The cookie you refer to updates he user last visit date in the database, but not for the present session. This is required so that when the user next comes the forum knows the last time they visited the forum.
------------- https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting
|
Posted By: disrael
Date Posted: 07 June 2007 at 5:04pm
-boRg- wrote:
The time will be lost if the servers application pool recycles and all the forums data wiped from the servers memory.
Contact your web hosts about the times that it's application pool recycles.
|
Is that normally an interval or a set time? Like is it something like "every 30 minutes" or "at 2pm every day" type of thing.
The cookie you refer to updates he user last visit date in the database, but not for the present session. This is required so that when the user next comes the forum knows the last time they visited the forum.
|
Thanks. So this would mean that if someone accesses WWF from 2 computers that they're "last visit" isn't necessarily accurate if they came from a different computer, right?
Thanks a lot!
------------- -D. Israel
|
Posted By: WebWiz-Bruce
Date Posted: 07 June 2007 at 6:53pm
The application pool by default recycle every 1700 minutes, or something like that.
Most hosts however set it to recycle in the early hours of the morning when there is least activity. We set our shared hosting servers to recycle at 2am each morning.
If the server is rather overloaded or you have a troublesome users who brings down the application pool than the web host may set it to recycle as low as every hour to reduce the amount of memory the server requires, as we find on our servers that the application pool can use over 1 gig of memory.
The cookie you refer to is mainly used for Guests and non-logged in users, once a user logs in the last visit date is got from the database, so it works on multiple computers.
------------- https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting
|
|