You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Luca Ventura <ve...@tiscali.it> on 2002/09/24 22:29:52 UTC
How can I maintain sessions between IIS and Tomcat?
Hello everybody!
I have installed Tomcat as plug-in of Internet Information Server (IIS) to
support JSP/Servlet, using the ISAPI filter.
So I can support ASP pages thanks to IIS and Servlets/JSP-pages thanks to
Tomcat.
All works well if I don't use sessions. In fact if I create an user-session
(object) in a JSP page or in a servlet, and then I insert information in it
(using setAttribute() method of HttpSession class) ,
the session object just created is not visible in an ASP page. The same
thing happens if I create
the session in an ASP page: the session will not visible in a JSP page. It
seems that IIS
and Tomcat can't exchange session information between them...why?
How can I solve this problem? Must I configure the ISAPI filter in some way?
If yes..how?
I hope someone can help me.
Thanks in advance!
Luca
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: How can I maintain sessions between IIS and Tomcat?
Posted by Matt Fury <ma...@yahoo.com>.
Hi Luca,
ASP and JSP (IIS, Tomcat) are too separate server side
languages and runtimes, hence there is no way to have
them talk to each other via a Session Object since
they each store sessions in a different manner.
You may pass variables back and forth between them via
a normal HTML manner but thats about it. Or you may
choose to write to disk.
-Matt
--- Luca Ventura <ve...@tiscali.it> wrote:
>
> Hello everybody!
>
> I have installed Tomcat as plug-in of Internet
> Information Server (IIS) to
> support JSP/Servlet, using the ISAPI filter.
> So I can support ASP pages thanks to IIS and
> Servlets/JSP-pages thanks to
> Tomcat.
> All works well if I don't use sessions. In fact if I
> create an user-session
> (object) in a JSP page or in a servlet, and then I
> insert information in it
> (using setAttribute() method of HttpSession class) ,
> the session object just created is not visible in an
> ASP page. The same
> thing happens if I create
> the session in an ASP page: the session will not
> visible in a JSP page. It
> seems that IIS
> and Tomcat can't exchange session information
> between them...why?
>
> How can I solve this problem? Must I configure the
> ISAPI filter in some way?
> If yes..how?
>
> I hope someone can help me.
>
> Thanks in advance!
>
> Luca
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
=====
------------------------
int myName() {
cout << "-Matt Fury \n";
return 0;
}
------------------------
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>