cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "johan coens" <>
Subject Java Flow: request.getSession returns null
Date Sun, 20 Jun 2004 13:59:50 GMT

Anyone experienced that the request.getSession() returns null when doing 
nothing for 20 seconds (or longer) and hit the refresh button? I wrote a 
simple test class that does the following:
. get request from objectModel
. print request.getSession().getId()

When reloading every 10 secs, i allways get the same sessionid
When reloading after 20 secs, i get a nullPointerException
When reloading again after the npe, i get the same sessionid i;ve previously 

It also happens (i think) when posting forms. After a post and refresh of 
the post the getSession method returns null.

anyone got a clue?


Ontvang Hotmail & Messenger op je mobiele telefoon

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message