wood burning stoves 2.0*
The moose likes Servlets and the fly likes Session Timeout after writing xml file ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Session Timeout after writing xml file ?" Watch "Session Timeout after writing xml file ?" New topic
Author

Session Timeout after writing xml file ?

marten kay
Ranch Hand

Joined: Feb 03, 2007
Posts: 178

Hi

My web.xml contains


The 30 minute timeout generally works fine, however when I run the following code the session times out a couple of seconds after execution,


I am running this through the localhost.

Any ideas? I don't know where to start.

Thanks

marten


when in doubt put it in parenthesis and stick a dollar sign in front of it, only good can come from this.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61661
    
  67

What evidence leads you to believe that the session is prematurely "timing out"?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
marten kay
Ranch Hand

Joined: Feb 03, 2007
Posts: 178

I get this in my post response


When I was double checking just now I began to realize that it only times out if i look (click into) the file in netbeans, so it seems like a development environment/netbeans interaction thing. So not a problem a problem this stage and consider this closed.


POST SCRIPT: IT Still is annoying so if anybody has a solution please post it.

Cheers

Marten
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Session Timeout after writing xml file ?