Hello all,

first i will thank you Stefano for your reply.

The Situation looks like this:

My SimpleSessionHandler have a method to set the 
default timout for a new Session. But when i wanna use
them, after creating a new SimpleSessionHandler,
the default value of 60 seconds don�t change.

Is this a bug in Axis or SimpleSessionHandler?
--> The Code looks good!

There must also be a possiblity to set a default Timeout
for Sessions in the Web.xml or so for Axis. but i don�t 
no where and how!????

Can someone tell me how I cant sets such a default Timeout????

thanks Tomi

-----Urspr�ngliche Nachricht-----
Von: Stefano Sambi [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 7. April 2004 14:24
An: [EMAIL PROTECTED]
Betreff: Re: Session out of order


>From SimpleSessionHandler.java (in src\org\apache\axis\handlers\) line 135:


// By default, sessions time out after 1 minute of inactivity (60 sec)
private int defaultSessionTimeout = 60;


I hope this is useful to solve your problem.
Stefano




----- Original Message -----
From: "Dorner, Thomas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 06, 2004 4:04 PM
Subject: Session out of order


> Hello all together,
>
> i have a little problem:
>
> My Service is Session based, and i use the simpleSessionHandler to place
my
> Session
> in the Header of the SOAP-Message. I also use one Client and different
> Services.
> So i get the Session of the first Service and place it for the next call.
> Everything works
> fine, but after a time limit of about 1 - 2 min without a new request, my
> Service
> or AxisEngine creates a new Session when there arrives a new Request.
> So there must be a setting for the Sessionlifetime or Session not used
> lifetime !?
>
> Can someone tell me how i can solve this problem???
> Some Code snippet for setting the session-life-time are welcome!!!
>
> Thanks Tomi
>
>
>
>

Reply via email to