Welcome Guest, Not a member yet? Register   Sign In
unable to create session cookie
#12

[eluser]Bazze[/eluser]
[quote author="WanWizard" date="1291530046"]Since the OP had a problem with native sessions, yours is a different issue.

We don't know what's wrong, we can't look into your environment and code? Have you debugged it? What did you test? What was the result?

For starters, disable the session cookie encryption in the config, so you can read the cookie. Is the cookie created in Safari? If so, what it it's contents, and does it match the session in the db? If not, is your session config ok (domain, path, cookie name)?[/quote]
I added print 'ok'; die; just after where the set_userdata(); function is issued, and it is printed. So it gets to the code where the session is set, so that is obviously not the problem. And the code works perfect in Firefox and Chrome (haven't checked IE yet), but not in Safari.

Printing out the session_id gives different value on every page refresh in Safari. In Firefox and Chrome it is the same.

Currently running the server locally, but I'm accessing the site through my IP-adress. The IP-adress is also set as the cookie domain.

EDIT
Seems to be working fine in Safari when not running the site locally. Very strange.


Messages In This Thread
unable to create session cookie - by El Forum - 09-01-2010, 08:09 PM
unable to create session cookie - by El Forum - 09-02-2010, 02:04 AM
unable to create session cookie - by El Forum - 09-03-2010, 12:39 AM
unable to create session cookie - by El Forum - 09-03-2010, 12:45 AM
unable to create session cookie - by El Forum - 09-03-2010, 12:57 AM
unable to create session cookie - by El Forum - 09-03-2010, 01:01 AM
unable to create session cookie - by El Forum - 09-03-2010, 03:04 AM
unable to create session cookie - by El Forum - 09-03-2010, 03:22 AM
unable to create session cookie - by El Forum - 09-03-2010, 04:47 AM
unable to create session cookie - by El Forum - 12-04-2010, 05:40 PM
unable to create session cookie - by El Forum - 12-04-2010, 06:20 PM
unable to create session cookie - by El Forum - 12-04-2010, 06:30 PM
unable to create session cookie - by El Forum - 12-05-2010, 10:34 AM
unable to create session cookie - by El Forum - 12-05-2010, 10:38 AM
unable to create session cookie - by El Forum - 12-06-2010, 01:34 AM
unable to create session cookie - by El Forum - 12-06-2010, 05:00 AM
unable to create session cookie - by El Forum - 12-06-2010, 08:08 AM
unable to create session cookie - by El Forum - 12-14-2010, 06:57 PM



Theme © iAndrew 2016 - Forum software by © MyBB