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:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>