|
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. -- [ Picked text/plain from multipart/alternative ] No cookies, no URL rewriting. About the URL: In servlet definitions I have something like: name: Login servlet-path: /Login (problem also exist if path is /servlet) name: ProjectsList servlet-path: /ProjectsList Login servlet is called and put user object into the session. Display a page with an hyperlink to the ProjectsList (href="ProjectsList?action=init") Then a new session has been created -----Original Message----- From: Art Smet [mailto:smet@us.ibm.com] Sent: mardi, 12. février 2002 18:02 To: java400-l@midrange.com Subject: Re: JSP Do you get a new session all the time in your app, or is getting a new session limited to the specific scenario you mention? If you're not sure, I suggest running a SessionSnoop servlet which verifies that session usage seems to be working normally. Are you using URL rewriting as your vehicle for carrying the sessionid, or are you using cookies? If it is just the scenario you mention, what URL (at the browser) is used to invoke the initial servlet and what URL (at the browser) is used after you click on the link? Do you use security (WebSphere security or HTTP server basic authentication)? Do you see any session related logging in stdout/stderr? (scan for sessiontracking) "Ducret, Gilles (CH)" To: "JAVA400-L (E-mail)" <JAVA400-L@midrange.com> <Gilles.DUCRET@llo cc: ydsbank.ch> Subject: JSP Sent by: java400-l-admin@mi drange.com 02/12/02 10:34 AM Please respond to java400-l This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. -- [ Picked text/plain from multipart/alternative ] Hello, I have a very strange problem and I cannot find where it comes from. I have a first servlet, that put some information into the session. This servlet then calls a jsp to display information. The jsp displays the information plus an hyperlink to another servlet. When I clic on that link and enter the servlet code, I cannot find anymore the object in the session. The session ID has also changed. In fact a new session has been created for this servlet. What can make a new session to be created? The link is: <a href="servlet/MyServlet">Test my servlet</a> Thanks Gilles ********************************************************************** This E-mail and any files transmitted with it are confidential and intended for the exclusive use of the addressee(s) only. You should not disclose its contents to any other person. If you are not the intended recipient please notify the sender immediately. ********************************************************************** _______________________________________________ This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list To post a message email: JAVA400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l or email: JAVA400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/java400-l. _______________________________________________ This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list To post a message email: JAVA400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l or email: JAVA400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/java400-l. ********************************************************************** This E-mail and any files transmitted with it are confidential and intended for the exclusive use of the addressee(s) only. You should not disclose its contents to any other person. If you are not the intended recipient please notify the sender immediately. **********************************************************************
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.