tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kief Morris <>
Subject Re: How can i share session between servlet and jsp
Date Tue, 12 Dec 2000 11:30:06 GMT
Raphaƫl Lemaitre typed the following on 11:56 12/12/2000 +0000
>But when i want to follow a hyperlink that points to a
>servlet, i do not get the same session (session Ids are different). 

How are you building this hyperlink exactly? Is it a relative link?
What exactly does the URL to the JSP page look like vs. the
URL to the servlet? Are the hostnames exactly the same? If
not you could be losing the session ID cookie. Are you sure your
browser is taking the cookie? 


              bitBull makes the Internet bite:

View raw message