Java Mailing List Archive

http://www.apache-httpd.com/

Home » modperl.perl »

Re: Session handling

Malcolm

2008-04-17

Replies: Find Java Web Hosting

Author LoginPost Reply
On Thursday 17 April 2008 01:04:14 Tracy12 wrote:

> for session handling we use CGI:Session cpan distribution,
>
> we do use local file for cookie storage, eventhough the session time out is
> 30, sometimes the set information in the
> session get lost before that, has anybody experience this before.

That sounds like you are using a cache file and your cache is filling up.

> We do have a cron job to clear the session data, Is there any solution for
> this behavior? What exactly the possible reason for such a thing.

The nature of a cache is that it will drop older data to make room for newer.
So your solutions are to make a larger cache file (you may have to experiment
to work out what size you need), or to switch to some other session storage
mechanism that has different properties.

©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.