tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Webber <web...@mminternet.com>
Subject RE: Session visibility
Date Tue, 29 Jan 2002 18:47:35 GMT
I am using Cookies to keep the sesison information.  I am using servlets
to preform some autheication for a standalone program.  From the
standalone program(which is in Java), I also pop up a browser window and
want it to login automatically to some JSP pages, in other words I want
the session to carry over.  For the intial JSP login I will pass the
sessionid as part of the URL.  How can I make sure that the servlet and
the jsp pages are in the same context?

The servlet is stored under ROOT/WEB-INF/classes/


>> I have sessions setup for a couple of different servlets.  For some
>> reason the session that are created using one servlet are not
>> valid in a
>> different servlet.  Is there a way to make this happen?
>
>Assuming when you say servlet you mean jsp page (which is slightly
>different):
>
>If they are in the same context they should be.  You need to give us
more
>information.
>
>1) Have you got cookies enabled, and/or are you using encodeURL?
>2) Are they in the same context?
>3) Err...
>4) That's it.
>
>Justin.
>--
>You're only jealous cos the little penguins are talking to me.




--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message