<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.28.3">
</HEAD>
<BODY>
Thanx for the speedy feedback.<BR>
<BR>
I had to wait to for an opportune moment to shut down hunchentoot on my live server. <BR>
<BR>
Steps<BR>
<BR>
1. I restarted it with the *session-gc-frequency* (5000) and *session-max-time* (3600) values I wanted (before I creating any acceptors).<BR>
<BR>
2. Logged into my application and then left the system for 15 minutes, it timed out when I tried to resume.<BR>
<BR>
3. I then placed a trace on HUNCHENTOOT::SESSION-TOO-OLD-P as suggested and it comes back with a NIL, I pushed the system to make more than 50 new sessions.<BR>
<BR>
4. I logged in again and left the system for 15 minutes and again it timed out when I tried to resume. All this time HUNCHENTOOT::SESSION-TOO-OLD-P is returning NIL.<BR>
<BR>
I know I am grasping at straws now, but could the *SESSION-MAX-TIME* not working have something to do with the fact that the client and the server are in different time zones? If I run the server on my development box the session does not time out like on the server.<BR>
<BR>
<BR>
Regards<BR>
Phil<BR>
<BR>
<BR>
On Wed, 2010-05-19 at 13:13 +0200, Hans Hübner wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Phil,

are you sure that youre new value for *SESSION-MAX-TIME* is used by
your sessions?  Try tracing HUNCHENTOOT::SESSION-TOO-OLD-P and check
the log file for entries saying "Session with ID <id> too old".  If
you see those messages in the log, or if
HUNCHENTOOT::SESSION-TOO-OLD-P returns a true value for a session,
your *SESSION-MAX-TIME* change has not been seen by Hunchentoot.

One reason could be that you're changing the value of the global
variable after you started Hunchentoot in multi-threaded mode.  In
that case, the changed value might not be picked up.

Let us know how you proceed.

-Hans

On Wed, May 19, 2010 at 12:46, Phil Marneweck <<A HREF="mailto:zaries@global.co.za">zaries@global.co.za</A>> wrote:
> Hi
>
> Is there any thing more than *session-gc-frequency* and
> *session-max-time* that influences session time outs?
>
> Because it does not matter how high I set these values the session keeps
> on timing out with in a couple of minutes!
>
> Can those values be set at any time or do they have to be set before any
> acceptors are created?
>
> Any help would be much appreciated this is causing me major pain on a
> live site.
>
>
>
>
>
>
> _______________________________________________
> tbnl-devel site list
> <A HREF="mailto:tbnl-devel@common-lisp.net">tbnl-devel@common-lisp.net</A>
> <A HREF="http://common-lisp.net/mailman/listinfo/tbnl-devel">http://common-lisp.net/mailman/listinfo/tbnl-devel</A>
>

_______________________________________________
tbnl-devel site list
<A HREF="mailto:tbnl-devel@common-lisp.net">tbnl-devel@common-lisp.net</A>
<A HREF="http://common-lisp.net/mailman/listinfo/tbnl-devel">http://common-lisp.net/mailman/listinfo/tbnl-devel</A>
</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>