开发者

IE8 losing session details

开发者 https://www.devze.com 2022-12-13 15:24 出处:网络
I have a Java web app that intermittently loses session data. The problem only occurs with users on IE8. I have used IEWatch to monitor the http traffic, and it seems that the correct session cookies

I have a Java web app that intermittently loses session data. The problem only occurs with users on IE8. I have used IEWatch to monitor the http traffic, and it seems that the correct session cookies are being sent (JSESSIONID2). When the request gets to the server the session has become unbound from the custom session monitor (this uses HttpBindingListener). As I have mentioned this probl开发者_如何学JAVAem is intermittent and I have even gone through a transaction with the customer doing exactly the same thing on my machine - however I was unable to replicate their problem. It should also be noted that the transaction fails at the same point every time for all users experiencing this - it one the second page of a 4 page wizard type transaction. Any help will be gratefully received.

Nige


Yep, I did find the problem.

I use DWR for AJAX stuff and there is an issue with DWRUtil.useLoadingMessage().

See http://directwebremoting.org/dwr/browser/util/useLoadingMessage.html

So this caused an execption, which went to an error page (jsp) which had an invalidate session statement on it.

Took me bloody ages to find it.

I hope this helps you, but I somehow doubt it :)

Nige

0

精彩评论

暂无评论...
验证码 换一张
取 消