RE: http session lost between struts action

2005-06-27 Thread angelina zh
t; > If ( session != null ) { > MyObject myObj = > (MyObject)request.getSession(true).getAttribute(MySessionName); > } > > > Because HttpSession session = request.getSession(true); will always create > a > new session > > Regards > Guru > -Original Messa

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 sessio

Re: http session lost between struts action

2005-06-27 Thread angelina zh
session lost. Regards, Angelina Dakota Jack <[EMAIL PROTECTED]> wrote: There is nothing wrong. You don't have a new session in your browser. On 6/23/05, angelina zh wrote: > Hi, > > Can anyone please help me on this session lost issue? > > Here is the problem I am

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 generat

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. If