----------------------------------------------------------------
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!!!
----------------------------------------------------------------
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"); //**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]
_______________________________________________________
Now on a screen very near you:
World's first real-time map and driving directions
now on your SFR GSM mobile phone in France
Actuellement sur vos �crans:
Pour la premi�re fois au monde, obtenez la carte
du trafic et vos itin�raires optimis�s en temps r�el
directement sur l'�cran de votre t�l�phone mobile SFR
A service by
Webraska Mobile Technologies
Internet + Mobility + Cartography
http://www.webraska.com
_______________________________________________________
--
--------------------------------------------------------------
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]