Ok, The programs worked in Tomcat directly. here are two JSPs:
jsp1.jsp
----------
session.setAttribute("Nav", "2");
jsp2.jsp
----------
String nav = (String)session.getAttribute("Nav");
out.println(nav);
output of jsp2.jsp
----------------
null
Also I checked IIS session timeout for application is 30 seconds. Tomcat is
30 seconds, too. Why doesn't work?
Thanks,
Jack
-----Original Message-----
From: Randy Layman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 1:51 PM
To: [EMAIL PROTECTED]
Subject: RE: How to get Tomcat's session working with IIS
I would beg to differ - I am using IIS 5 on Win2K with sessions (at
times holding up to 30 or 40 objects for each user).
Questions to help diagnose the problem:
1. Does it work in Tomcat directly (using port 8080)?
2. Are you doing anything that would be strange?
If the above doesn't help, try posting the JSPs for the two pages.
Randy
> -----Original Message-----
> From: Jack Li [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 22, 2001 1:54 PM
> To: [EMAIL PROTECTED]
> Subject: How to get Tomcat's session working with IIS
>
>
> The seesion doesn't work with IIS 5.0 on windows 2000.
> session works on the
> same jsp page but can't pass to next page. the session scope
> of bean doesn't
> work either.
>
> Thanks,
> Jack Li
>
>