DebugBar Forums
 
 HOME 
 DOWNLOAD 
 BUY 
 DOC / WIKI 
 FORUM 
 CONTACT 
Stay tuned : rss feed

Forum Home


advanced search

You are not logged in.

Announcement

Forums are now closed as we moved them to google groups. You can use the following Google Groups to discuss about DebugBar and IETester products:

#1 2010-09-06 12:43:30

Lone
New member

Session and ajax issues under Windows 7

We have been using IETester in our office on Windows 7 for around 4 - 5 months now succesfully (bar a few minor crashing issues) but am now encountering a major issue across all 3 machines when it comes to sessions/headers and ajax requests.

We first noticed being logged out of our web applications after a AJAX request (using jQuery). Upon further inspection we looked at the apache access logs and noticed the following issue of a normal page request (clicking on a link) would use the right user agent where as an ajax request would use the machines current IE version (8).

192.168.1.28 - username [07/Sep/2010:09:11:25 +1000] "GET /test/ajax/ HTTP/1.1" 200 1023 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C)"

192.168.1.28 - username [07/Sep/2010:09:11:56 +1000] "POST /test/ajax/ajax.php HTTP/1.1" 200 337 "http://aserver/test/ajax/" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C)"

This would cause us to log out automatically as the authentication system has noticed a change of user agent (MSIE 8.0) for the session which is not allowed.

These issues have only started in the past week and bit - so not quite certain what could have brought them on?

IETester v0.4.4
Windows 7 Home Premium (with all latest updates)

Offline

 

#2 2010-09-06 12:52:09

Lone
New member

Re: Session and ajax issues under Windows 7

In addition on ajax requests we usually set the following headers:

Cache-Control: no-store, no-cache, must-revalidate, no-transform, max-age=0, post-check=0, pre-check=0

We were being returned on each page just two odd characters (a box and a question mark) instead of the full HTML we were expecting - turns out that removing 'no-transform' has fixed this part of the issue.


However, we have now notice the odd characters we see are as a result of gzip encoding being enabled on the server - once we disable gzip then there is no more issues related to seeing these odd characters.

But we still have the main issue of the user agent being incorrect

Last edited by Lone (2010-09-06 14:32:02)

Offline

 

#3 2010-09-09 04:29:03

fabrice
DebugBar Support

Re: Session and ajax issues under Windows 7

Hi,

This bug has already been reported in the forum :

http://www.my-debugbar.com/forum/viewto … 2125#p2125

Please refer to this thread for a future correction.

Thanks.

Offline