Re: Update Cookie JSESSIONID

2013-04-03 Thread JOSE L MARTINEZ-AVIAL
Are you creating a new session after invalidating the original one? If you do that, the server should send a new JSESSIONID cookie to the client on the response. Otherwise I don't know how your server will work, but I assume it will not sent any cookie back to the client, and therefore the browser

Re: Update Cookie JSESSIONID

2013-04-03 Thread Peter Lin
Thanks, Martins. CreateSessionInterceptor is not the answer for my case. My authentication action class already implements SessionAware, the SessionMap is available for use. My problem is after authentication, I would like to clear existing user session, and create a new one, in which I would store

RE: Update Cookie JSESSIONID

2013-04-03 Thread Martin Gainty
Put the create-session interceptor into your action input_with_token_tag.ftl http://struts.apache.org/development/2.x/docs/create-session-interceptor.html Martin __ Verzicht und Vertraulichkeitanmerkung Diese Nachricht ist vertraulich

Update Cookie JSESSIONID

2013-04-03 Thread Peter Lin
Due to our server always picks up the old JSESSIONID for creating a new user session if a cookie JSESSIONID has been passed - Waiting for Basis team to solve it. I tried to set the cookie JSESSIONID to expired before display the login screen, but failed. I just wonder can I block the JSESSIONID co

Re: Reset Form values from action class - struts 1.2

2013-04-03 Thread Dave Newton
Define "not working"- how did you implement it? Dave On Apr 3, 2013 2:40 PM, "Ashish" wrote: > Hi > What is the best way to rest form values from Action class, for example i > have > an application where users adds data from a webpage and redirected to the > same > page when data is inserted su

Reset Form values from action class - struts 1.2

2013-04-03 Thread Ashish
Hi What is the best way to rest form values from Action class, for example i have an application where users adds data from a webpage and redirected to the same page when data is inserted successfully, i tried form.reset(...) method but it is not working, is there any other way to do so Ashish