ASP Free Lounge
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsOtherASP Free Lounge

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old January 22nd, 2005, 09:23 PM
nschafer's Avatar
nschafer nschafer is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Mar 2004
Location: Florida
Posts: 584 nschafer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 21 h 46 m 5 sec
Reputation Power: 5
Minor annoyance with forum software

I find that I often spend a fair amount of time researching and answering a question on the forum. If I spend a great deal of time with the forum open, but not moving around in it I find that the system show that I have read all of the messages in the forum even though I have not. I am farily certain this must be a session timeout (or the PHP equivelent), but was wondering if there was any way to avoid it. I'm not sure exactly how long this time period is. This has annoyed me for some time, but I've just lived with it.

Thought I'd see how other people felt about the issue or if other people experience it.

Thanks,
__________________
Neal Schafer
The early worm gets eaten.

Reply With Quote
  #2  
Old January 22nd, 2005, 11:59 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 22 h 9 m 49 sec
Reputation Power: 181
I just periodically hit the page refresh button. I don't know what the timeout here is, on IIS servers usually 5-20 minutes and your session is gone.

Oh, this isn't a forum code problem, this is a web server issue.
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
  #3  
Old January 23rd, 2005, 09:45 AM
nschafer's Avatar
nschafer nschafer is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Mar 2004
Location: Florida
Posts: 584 nschafer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 21 h 46 m 5 sec
Reputation Power: 5
Quote:
Originally Posted by Doug G
Oh, this isn't a forum code problem, this is a web server issue.


Granted, the server is controlling the session, however the forum code is deciding that if the session variable times out that all messages have been read.

Reply With Quote
  #4  
Old January 23rd, 2005, 12:16 PM
edwinbrains's Avatar
edwinbrains edwinbrains is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Location: UK
Posts: 140 edwinbrains User rank is Private First Class (20 - 50 Reputation Level)edwinbrains User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 8 h 44 m 10 sec
Reputation Power: 5
What you can do is go to http://forums.aspfree.com/online.php which automatically refreshes every 1 minute I think. This will keep your session open.

Reply With Quote
  #5  
Old January 24th, 2005, 03:41 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 22 h 9 m 49 sec
Reputation Power: 181
Quote:
Originally Posted by nschafer
Granted, the server is controlling the session, however the forum code is deciding that if the session variable times out that all messages have been read.

No it's not the forum code that decides when sessions time out. If you open a page in your browser and drive out to Cucamonga and back, you'll see the same page on your screen but the server timed out your session long ago. Your activity (or inactivity) from your browser decides when or if sessions time out, not any server application code.

Reply With Quote
  #6  
Old January 24th, 2005, 05:13 PM
nschafer's Avatar
nschafer nschafer is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Mar 2004
Location: Florida
Posts: 584 nschafer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 21 h 46 m 5 sec
Reputation Power: 5
Hi Doug,

I understand and agree with you concerning the fact that the server controls the duration of the Timout although you can control this to some extent with code that is not the issue I was bringing up. The point is what happens when the session times out. Most likely in the global.asa or hidden elsewhere is a subroutine that is called when the session ends either by timing out or by logging off, etc... This is where I assume the system is being told that all current threads have been read.

For example when I work on a shopping cart system if the session times out I clear the temporary data stored in my SQL server for that session number. I could as easily do something else with it, like create a log of items that people put in a cart but did not order. Whatever I wanted. I assume the same thing applies here. When the session times out the application decides what to do and in this case it appears that it has been decided to mark all available threads as having been read.

As I said to begin with this is really just a very minor annoyance. I truly enjoy the forums at ASPfree and find them to be more active than any other ASP related sites I have seen. The long term people here are generally very knowlegeable and generally don't poke fun at the novices too much. I enjoy helping out where I can as I'm sure you see from my posts.

This issue isn't worth too much effort, I just thought I'd see if anyone else had noticed it and had ideas about it, but as a last bit I will say to those who responded by mentioning to refresh or go to a page that auto-refreshes, I sometimes spend over 20 minutes typing into a reply page. If I were to refresh I would lose all the work I had put into the response.

Anyway thanks to all,

Neal.

Reply With Quote
Reply

Viewing: ASP Free ForumsOtherASP Free Lounge > Minor annoyance with forum software


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT