Re: http session lost between struts action

2005-06-27 Thread angelina zh
Jack, I dont understand why you keep saying there is nothing worng. The session got established at the log in page and kept valid in the security re-diredct pages till the welcome page. Then session got lost. Why there is nothing wrong with it? The session id did not get lost, just the http

Re: http session lost between struts action

2005-06-27 Thread David Smith
Check these: 1. Your browser is accepting cookies 2. Your links are being generated by taglibs that insure the jsessionid is attached if needed. I say if needed because if tomcat is getting a valid session cookie from your browser, the jsessionid won't be added to the link. They don't both

Re: http session lost between struts action

2005-06-27 Thread delbd
Don't know if it is related, but a note on an issue in session tracking we got here (an how we soluced it) We got the following scenario: 1) someone get a link to a struts form in an email 2) He get to the page by clicking on link 3) The page is in a 'secure' area, meaning he gets a popup from

Re: http session lost between struts action

2005-06-27 Thread angelina zh
David, Thanks a lot for your help. My browser accepts cookies. Actually I inspected the cookies as well as the session object when I was debugging. The cookies is a valid array with valid sessionId inside and the method isRequestedSessionIdFromCookie() returns true as long as the http

RE: http session lost between struts action

2005-06-27 Thread Raghupathy,Gurumoorthy
Message- From: angelina zh [mailto:[EMAIL PROTECTED] Sent: 27 June 2005 17:18 To: Tomcat Users List Subject: Re: http session lost between struts action David, Thanks a lot for your help. My browser accepts cookies. Actually I inspected the cookies as well as the session object when I

RE: http session lost between struts action

2005-06-27 Thread Frank W. Zammetti
= request.getSession(true); will always create a new session Regards Guru -Original Message- From: angelina zh [mailto:[EMAIL PROTECTED] Sent: 27 June 2005 17:18 To: Tomcat Users List Subject: Re: http session lost between struts action David, Thanks a lot for your help. My browser accepts

RE: http session lost between struts action

2005-06-27 Thread angelina zh
); will always create a new session Regards Guru -Original Message- From: angelina zh [mailto:[EMAIL PROTECTED] Sent: 27 June 2005 17:18 To: Tomcat Users List Subject: Re: http session lost between struts action David, Thanks a lot for your help. My browser accepts cookies

Re: http session lost between struts action

2005-06-27 Thread David Smith
You might want to setup the Request Dumper Valve (*org.apache.catalina.valves.RequestDumperValve*.) and see if that offer's any insight. I suspect the cookie isn't being returned in subsequent requests after the welcome page. Unfortunately, I don't have enough info about your setup to even

RE: http session lost between struts action

2005-06-27 Thread Medha Parathasarathy
-Original Message- From: angelina zh [mailto:[EMAIL PROTECTED] Sent: 27 June 2005 17:18 To: Tomcat Users List Subject: Re: http session lost between struts action David, Thanks a lot for your help. My browser accepts cookies. Actually I inspected the cookies as well

Re: http session lost between struts action

2005-06-26 Thread Torsten Römer
But they use Struts, where URL rewriting is done automatically if cookies are disabled, presumed the relevant tags are used rather than plain HTML links, for example. Maybe that's the problem, that in some link, form action or redirect the jsessionid is missing. Then of course the session is

Re: http session lost between struts action

2005-06-26 Thread Dakota Jack
There is nothing wrong. You don't have a new session in your browser. On 6/23/05, angelina zh [EMAIL PROTECTED] wrote: Hi, Can anyone please help me on this session lost issue? Here is the problem I am getting: -- If I open a IE 6.0 browser and log into the web site we are developing,

Re: http session lost between struts action

2005-06-26 Thread Dakota Jack
Again there is nothing wrong, so the fix does not help. ///;-) On 6/23/05, angelina zh [EMAIL PROTECTED] wrote: Michael, Thank you so much for your reply. The login page is a JSP page. In the JSP page, the login form's mothod is post and the action is a struts action. After login, we

Re: http session lost between struts action

2005-06-26 Thread Dakota Jack
Again, there is no problem, so don't accept any solutions. You leave some (most actually) open and the session remains open. On 6/26/05, Torsten Römer [EMAIL PROTECTED] wrote: But they use Struts, where URL rewriting is done automatically if cookies are disabled, presumed the relevant tags

Re: http session lost between struts action

2005-06-24 Thread Charl Gerber
If your session data is stored as a session cookie (I *think* this is default behaviour), then your session will get lost if you have cookies disabled on your browser. --- angelina zh [EMAIL PROTECTED] wrote: Michael, Thank you so much for your reply. The login page is a JSP page. In

http session lost between struts action

2005-06-23 Thread angelina zh
Hi, Can anyone please help me on this session lost issue? Here is the problem I am getting: -- If I open a IE 6.0 browser and log into the web site we are developing, I get into a welcome page with a few of link options. In the login action class, we set some attributes into the session.

Re: http session lost between struts action

2005-06-23 Thread Michael Jouravlev
On 6/23/05, angelina zh [EMAIL PROTECTED] wrote: -- If I open a IE 6.0 browser and log into the web site we are developing How do you log in? Do you navigate to static HTML page, to JSP page, to Struts login action? Who generates this page or where this page is being forwarded from? In the

Re: http session lost between struts action

2005-06-23 Thread angelina zh
Michael, Thank you so much for your reply. The login page is a JSP page. In the JSP page, the login form's mothod is post and the action is a struts action. After login, we did some internal redircts for security checking and then take the user to the welcome page. The welcome page is