Welcome Guest, Not a member yet? Register   Sign In
codeigniter session library and internet explorer
#1

[eluser]searain[/eluser]
There are a lot of threads talking about codeigniter session library problems. Specially, CI session library seems to have problems with IE.

But I add the line

session_start();

This line make CI session library works with the IE.

In theory, I don't think when we use CI session library, we would needs this line. But in practice, somehow, it solves the IE problem.

How does it work out? I don't know. Anyone can give me some advice or opinions about how it magically works? Thanks!

It seems that without session_start(), the IE seems cannot identify the CI sessionID cookie. But with this session_start(), the IE seems to identify the CI sessionID.

Thanks!

#2

[eluser]theshiftexchange[/eluser]
Just incase people searching threads come across this:

IE sessions might also fail if "cookie_domain" is not correctly set - especially if it is left blank. All other browsers will continue to work, but not IE.




Theme © iAndrew 2016 - Forum software by © MyBB