Internet Explorer 8 doesn't pass session cookie for ajax request

前端 未结 5 1236
半阙折子戏
半阙折子戏 2021-01-05 13:37

I have simple php application, it works on all browsers except on IE8 beta 2, problem occurs when I try to update table field using Ajax call (jQuery post method). Using IE8

5条回答
  •  暖寄归人
    2021-01-05 14:04

    I had the same problem in IE8 RC1:

    1)a user goes to the login page and a blank session cookie is set
    2)The user logs in and a validated session cookie is set and javascript opens a new window and closes the current window.
    3)The new window is opened and contains a blank session cookie.
    4)The user is redirected to the login page

    I changed step 1 so that the blank cookie was not set - I only send the session cookie if its been validated. This fixed the problem for me.

提交回复
热议问题