Welcome Guest, Not a member yet? Register   Sign In
Login, it works only on Firefox
#3

[eluser]Alhazred[/eluser]
It looks to be a cookie problem.
I've deleted any browsing data from IE and Chrome before to try this:
I've done the login procedure, 'login success' message appears, I go back to the home page where I've put a
print_r($_COOKIE)

IE and Chrome shows an empty array, FF the correct content for it.

Printing
print_r($this->session->all_userdata())
IE and Chrome show

Array ( [session_id] => 969d9d1306bcce9727766275d55b2fb3 [ip_address] => 127.0.0.1 [user_agent] => Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Win64; x64; Trident/5.0) [last_activity] => 1345196493 [user_data] => )

Nothing can be put in ['user_data'] because the session is regenerated on each page change/refresh since it is not recognized as existing.
The database entry for the session is generated, so it seems that everything is an issue with the cookies.

Any idea about how to solve?


Messages In This Thread
Login, it works only on Firefox - by El Forum - 08-16-2012, 02:33 PM
Login, it works only on Firefox - by El Forum - 08-16-2012, 03:21 PM
Login, it works only on Firefox - by El Forum - 08-17-2012, 05:16 AM
Login, it works only on Firefox - by El Forum - 08-17-2012, 07:52 AM
Login, it works only on Firefox - by El Forum - 08-17-2012, 01:53 PM



Theme © iAndrew 2016 - Forum software by © MyBB