----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Hi,
You mean session is valid but you can't find the values is session?
I know that the spec says that any object stored in the session should
be serializable (please corect this if it is wrong).
Is it your 'Links' object?
Andras.
----- Original Message -----
From: "Julien du Payrat" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 07, 2000 1:12 PM
Subject: Session problem
> Hello,
>
> I'm using Apache Jserv 1.1.1 with apache 1.3.9 under Windows Nt 4.
>
> Sometimes it seems that Jserv looses session data stored with put value
even
> if the session is still valid.
> Here is the code where the problem occurs:
>
> ***************************************************************
> HttpSession session = request.getSession(false);
> if(session==null)
> throw new Exception("Forbidden_way");
>
>
> Links servLinks = (Links)session.getValue("links");
file://**servLinks is
> null**
> String tmpDir = servLinks.tmpDir
> +"/" + session.getId();
> servLinks.setContext(context);
> ***************************************************************
>
> This bug really appears randomly. Not just when a servlet has changed and
is
> reloaded (as described in the FAQ).
>
>
>
> Julien du Payrat
> [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]