Welcome Guest, Not a member yet? Register   Sign In
Sessions not saving...
#11

[eluser]RBrowne[/eluser]
Okay, so here's the path/domain name details of the cookie. I'm running on a localhost, accessing the pages as follows: http://localhost/test.html etc etc.

Code:
$config['cookie_prefix']    = "SPARCS_";
$config['cookie_domain']    = "localhost";
$config['cookie_path']        = "";

Thanks again.
#12

[eluser]TheFuzzy0ne[/eluser]
Mine are set to the defaults, and work beautifully for development, although I do standalone server for my development, so I use domain names. I'd suggest you go with the defaults, see if that helps, and then change one thing at a time.

defaults:
Code:
$config['cookie_prefix']        = "";
$config['cookie_domain']        = "";
$config['cookie_path']          = "/";

I think your problem is the cookie path, I think it needs to be set to "/".
#13

[eluser]RBrowne[/eluser]
Brilliant!!!! Okay setting them to the defaults and then bringing them in one by one solved it. Turns out it's the cookie_prefix - doesn't like anything in this field.

Thanks for all your help. Really really appreciate it.
#14

[eluser]TheFuzzy0ne[/eluser]
Woohoo! Glad you got it sorted. These little problems can be so frustrating and so difficult to locate. I'm so glad I don't have to scream.




Theme © iAndrew 2016 - Forum software by © MyBB