Welcome Guest, Not a member yet? Register   Sign In
cookies/sessions getting right on my tits
#1

[eluser]richthegeek[/eluser]
Previously had no problems with sessions/cookies but now they are giving me major grief...

I cant seem to get them to be set.

User login goes liek this:
/login (routes to customer/Auth::login())
submits to /login (same route) which checks for post and calls Auth::_login_exec();
Auth::_login_exec() calls the Model method Authorisation::login();
Authorisation::login() checks the db and if the user exists, calls Authorisation:Confusedet_cookies( a, b ); where a and b are two sha1 hashes. set_cookies sets two cookies.

Now the problem is that set_cookies doesnt seem to actually set any cookies??

I've tried it using:
$this->session->set_userdata using files
$this->session->set_userdata using database
set_cookie (the cookie helper method)
setcookie (the PHP native method)

None of these work and its driving me up the fracking wall. Cookies work elsewhere on the same server??


Messages In This Thread
cookies/sessions getting right on my tits - by El Forum - 08-02-2009, 05:59 PM
cookies/sessions getting right on my tits - by El Forum - 08-02-2009, 06:08 PM
cookies/sessions getting right on my tits - by El Forum - 08-03-2009, 02:38 AM



Theme © iAndrew 2016 - Forum software by © MyBB