On 6/16/05, Adam Hardy <[EMAIL PROTECTED]> wrote: > It's not stupid, it returns a boolean informing you where the > session.getId() gets its info from. Makes sense to me.
Makes sense to me too, but I also want to know is there session ID in the URL. Any advice how to find this out? > Although you have my sympathy, wanting something from the API that it > just doesn't want to give. Why do you need it? Looks like you would have > to hack tomcat to get it. 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 :) Michael. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]