Re: Session timeout when performing an action
Re: Session timeout when performing an action
- Subject: Re: Session timeout when performing an action
- From: Chuck Hill <email@hidden>
- Date: Mon, 17 Sep 2012 10:43:40 -0700
Hi Dominique,
Does your application store the session ID in cookies? Are you sure it is a session timed out and not some other error? If so, here are two things that can cause this:
1. Malformed HTML - some browsers (IE was bad for this) can send another request to the server when processing invalid HTML (they interpret something as being a server resource they need to download. The URL they use is not a valid WO url which causes a new session to get created and the cookies from this session replace those from the user's real session.
2. Multiple Sessions - this seems more likely to me as you mentioned "the user open many tabs in the browser". If they create a new session in one of the tabs, the cookies form this session replace those from the user's other session. When they go back to an earlier tab and click on a button or link, they get an error as those links are not valid in the new session.
It could also be that an instance is taking too long to respond and the user's request is getting sent to a different instance which of course won't have the user's session.
Chuck
On 2012-09-14, at 6:52 AM, Schoenenberger Dominique wrote:
> I have a problem with untimely session timeout. The user is doing actions with the application but suddenly after doing something (a click on a button for example), he got a session timeout.
>
> The probability of this to occur is quite low but very annoying for the user.
>
> I suspect that it occurs when the user open many tabs in the browser (?)
>
> Could it be related to a web page having xhtml validation errors ?
>
> Thanks for any help,
>
> Dominique Schoenenberger
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/gvc/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden