Session Handling in Tomcat 3.2.4

2002-11-26 Thread Vaibhav Kulkarni
Hi all,
Can i persist the session id generated from the server
request.getSession();

I am having one class which connects to the server with url object and
receives a session id as response from the server. Now the same session
id is used by other programs to communicate with the server. Now if
because of some malfunction server shuts down I am catching the network
errors as ConnectException BindException, UnknowHostException etc. if
the exception occurs, in the catch block the method connect method will
be called , now in this method session id will be sent as a jsession
parameter,  and will try to re establish the connection if the
connection has been established i want , sever to send the same session
id . so that the other threads will be in same state as of they are
before , they were sending information to server before connection was
lost.. 

now my question is whether it will work and does server supports such
kind of requests of creating the session object with the same name as
specified in the url connection.

Regards,
Vaibhav
-- 
Vaibhav Kulkarni
Embedded Systems Group.
rapidEffect (P) Ltd.
25,Napier Road, Pune 411 001 Ph. 020 6363250

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Session Handling in Tomcat 3.2.4

2002-11-26 Thread Vaibhav Kulkarni
Hi all,
Can i persist the session id generated from the server
request.getSession();

I am having one class which connects to the server with url object and
receives a session id as response from the server. Now the same session
id is used by other programs to communicate with the server. Now if
because of some malfunction server shuts down I am catching the network
errors as ConnectException BindException, UnknowHostException etc. if
the exception occurs, in the catch block the method connect method will
be called , now in this method session id will be sent as a jsession
parameter,  and will try to re establish the connection if the
connection has been established i want , sever to send the same session
id . so that the other threads will be in same state as of they are
before , they were sending information to server before connection was
lost.. 

now my question is whether it will work and does server supports such
kind of requests of creating the session object with the same name as
specified in the url connection.

Regards,
Vaibhav

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]