hi,
The information saved in a session remains on the server specific class
loader only and a session id is passed to the client which means the info in
the session object is in the Tomcat's application specific class loader. But
to share info between IIS and tomcat what we can to is save the info in
cookies (ofcource on client) and when ever a server makes a request
irrespective of the fact whether it is tomcat or IIS ,it can access the
info.
Session indirectly uses cookies but only to save the session id .
If u want i can send u the coding for taking info in a JPS from cookie.
i am quite sure this will work.
waiting for a reply
tarun

----- Original Message -----
From: "Anton Brazhnyk" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Monday, February 11, 2002 2:34 PM
Subject: RE: Session Management between IIS and Tomcat


> Hi,
>
> > -----Original Message-----
> > From: Pavel Brun [mailto:[EMAIL PROTECTED]]
> > Sent: Saturday, February 09, 2002 6:48 PM
> > To: Tomcat User
> > Subject: Session Management between IIS and Tomcat
> >
> >
> > I have already posted this question a while ago, but I was wondering if
> > anybody knows
> > of a mechanism for sharing an IIS session with Tomcat and vice versa? I
> > would greatly
> > appreciate any information anyone can give me. Even if there is
> > no solution,
> > I would
> > appreciate someone telling me that "it is not possible", or "it would be
> > difficult".
> >
>
> I think it's not possible in terms of servlet engine sessions.
> Session is a java object and it's typically used to store some information
> in it. I bet IIS session's purpose is the same but with native windows
code.
> There is more: Cookie name and url-rewriting parameter name in TC are
> called "jsessionid" and I doubt they're called that way in IIS.
>
> But, I think it's still possible in general, though you'll have to do it
> by yourself at applications level. It won't be easy, but if you really
> need it...
>
> > Even those answers will help me.
> >
> > Thanks
> >
> > Paul
> >
>
> Anton
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to