cocoon-users mailing list archives

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

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 
got

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?

Cheers,
Johan

_________________________________________________________________
Ontvang Hotmail & Messenger op je mobiele telefoon 
http://mobile.msn.com/?lc=nl-nl


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message