EllisLab text mark
Advanced Search
     
Storing session data
Posted: 08 September 2007 05:10 PM   [ Ignore ]
Joined: 2007-07-21
49 posts

I’m utilizing the session class and am saving session data. For some odd reason, in IE6 the site either does not WRITE the variable I need set or does not READ the variable I set. Are there any known issues with IE?

Thanks

 Signature 

Omed Habib

 
Posted: 08 September 2007 05:25 PM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Joined: 2007-07-21
49 posts

OK… I’ve located the problem. When I perform a redirect:

redirect('login/home''redirect'); 

My variable is being unset, but ONLY in IE6. Any ideas why?

 Signature 

Omed Habib

 
Posted: 08 September 2007 07:50 PM   [ Ignore ]   [ # 2 ]   [ Rating: 0 ]
Joined: 2007-07-17
122 posts

There is an issue with sessions that manifests on some os-browser combinations. This affects you only if you are matching against user agent. If you are turn it off from the config file, if it fixes the problem go to the bug reports or search this form, there is a simple solution on how to fix this, you only have to change one line of code

 Signature 

Computers are incredibly fast, accurate and stupid. Human beings are incredibly slow, inaccurate and brilliant. Together they are powerful beyond imagination.

                                    A. Einstein