|
Re: [enhydra] user-agent session id question: msg#00022java.enhydra.general
Hi, Every request on presentation object is checked for session id(in cookie or in url). If there is no session id in request the new session will be generated. There is no option to prevent new session to be generated if session id is not found. Parameter (in web.xml file) 'SessionManager.SessionEncodeUrlState' can be set to 'Never' to avoid session id to be stucked in the url. But in that case if browser has cookies disabled, for that user on every new request new session will be generated(because no session id is found in request). If that cant resolve your problem you can try to create a custom session manager to support that scenario, one of solutions may be : Method 'createSession (HttpPresentationComms comms)' (in SessionManger) is called for generation of new session(if session id is not found in request). You can try to detect user-agent by calling 'comms.request.getHeader("user-agent")', and return special session not create a new one. Regards, Radivoj Milin ----- Original Message ----- From: "Joe Osburn" <josburn@xxxxxxxxxxxxx> To: <enhydra@xxxxxxxxxxx> Sent: Monday, August 15, 2005 4:48 PM Subject: [enhydra] user-agent session id question Hello, --------------------------------------------------------------------------------
-- You receive this message as a subscriber of the enhydra@xxxxxxxxxxxxx mailing list. To unsubscribe: mailto:enhydra-unsubscribe@xxxxxxxxxxxxx For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [enhydra] user-agent session id question, Joe Osburn |
|---|---|
| Next by Date: | RE: [enhydra] user-agent session id question, Joe Osburn |
| Previous by Thread: | [enhydra] user-agent session id question, Joe Osburn |
| Next by Thread: | RE: [enhydra] user-agent session id question, Joe Osburn |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |