Sessions only work within a single web application on a single server. If the
other servlet is on a different server, or a different application on the same
server, you will not be able to use sessions to share information between your
servlets.
Craig McClanahan
"N.Rajesh Babu" wrote:
> Iam working with servlets in my thesis and i have a serious problem. I want
> two servlets to open a http session, and keep track of the session. But
> they do not do it. I am sending cookies, even then the servlet at the other
> webserver starts a new session on each request.
> how do i do.
>
> --
> ____________________________________________________________________
> | |Hostel address:- |
> | N.Rajesh Babu | room no 111, |
> | M.Tech , Dept of cse | manas hostel, |
> | Indian Institute of Technology Guwahati | IIT Guwahati, |
> | Guwahati , ASSAM | North Guwahati, |
> | | Guwahati, Assam |
> | ph :- home | 0091-8623-41013 | India |
> | hostel | 0091-361-790124 | |
> | e-mail:- [EMAIL PROTECTED] | |
> | [EMAIL PROTECTED] | |
> | [EMAIL PROTECTED] | |
> | [EMAIL PROTECTED] | |
> |_________________________________________|_________________________|
>
>