Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Last visit time changing in Active Topics...
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Last visit time changing in Active Topics...

 Post Reply Post Reply
Author
disrael View Drop Down
Groupie
Groupie


Joined: 28 November 2006
Status: Offline
Points: 36
Post Options Post Options   Thanks (0) Thanks(0)   Quote disrael Quote  Post ReplyReply Direct Link To This Post Topic: Last visit time changing in Active Topics...
    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
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
disrael View Drop Down
Groupie
Groupie


Joined: 28 November 2006
Status: Offline
Points: 36
Post Options Post Options   Thanks (0) Thanks(0)   Quote disrael Quote  Post ReplyReply Direct Link To This Post Posted: 07 June 2007 at 5:04pm
Originally posted by -boRg- -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.

Quote
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
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.