Sessions not saving... |
[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_"; Thanks again.
[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'] = ""; I think your problem is the cookie path, I think it needs to be set to "/".
[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.
[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. |
Welcome Guest, Not a member yet? Register Sign In |