struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Hardy <ahardy.str...@cyberspaceroad.com>
Subject Re: [OT] Session ID in the URL
Date Thu, 16 Jun 2005 16:13:19 GMT
On 16/06/05 15:37&nbsp;Michael Jouravlev wrote:
> When both methods return true, they identify the first request after
> session has been established with browser which supports cookies. I
> try to keep GET requests clean to encourage browser to keep its page
> history from growing. When I detect this request to an action mapping,
> I redirect to same action mapping to clean URL up. After redirection
> URL will be clean, because session ID will be contained in cookie
> only.
> 
> With isRequestedSessionIdFromURL() returning false I cannot do what I
> need. And doing two redirects each time is not acceptable :)

It seems to be hard-coded behaviour that you can't do anything about 
unless you want to write some javascript to check the URL and put a 
token in the query string for the next request.


Adam

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message