chibineku Posted September 21, 2009 Share Posted September 21, 2009 I'm having the strangest problem. I have a script that lets you change the quantity of an item in your basket. If you set the new quantity from a select element to anything bar one, the script updates the sessionBasket table with the new quantity. If you set it to 0, it deletes the row. This works fine. Except on IE browsers (IE7, anyway), where it refuses to update or delete. It is mind boggling. Does IE7 manage more than one session id or what? I use the session id as the ident for deleting or updating the table. Has anyone else ever had a problem like this? Link to comment Share on other sites More sharing options...
jeffman Posted September 21, 2009 Share Posted September 21, 2009 What makes you think it's a session issue and not (for example) a POST data issue or an AJAX issue (if that's what you're using)? Link to comment Share on other sites More sharing options...
chibineku Posted September 21, 2009 Author Share Posted September 21, 2009 Well, it's not AJAX, so that simplifies things a lot. I guess it could be a POST issue. Still, isn't it just a teency bit enormously strange? Link to comment Share on other sites More sharing options...
chibineku Posted September 21, 2009 Author Share Posted September 21, 2009 Okay, now it works. I guess it was a temporary cache issue or something? Link to comment Share on other sites More sharing options...
Synook Posted September 22, 2009 Share Posted September 22, 2009 IE caches pages requested over AJAX. Link to comment Share on other sites More sharing options...
jlhaslip Posted September 22, 2009 Share Posted September 22, 2009 any workaround for that? Link to comment Share on other sites More sharing options...
Synook Posted September 22, 2009 Share Posted September 22, 2009 Random querystring variable on the end, e.g. if your page is ajax.php request "ajax.php?random=" + Math.random() Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.