Welcome Guest, Not a member yet? Register   Sign In
still losing session userdata across a redirect
#8

(This post was last modified: 12-01-2017, 09:01 AM by richb201.)

I changed the past for cookies to: $config['sess_save_path'] = 'c:\xampp\htdocs\sub_crud\session_cookies';

>>A cookie with the 'secure' flag can't be sent over plain HTTP (must be HTTPS).
No prob here. I have secure set to false.

>>A cookie set for domain foo.bar won't be sent to foo.baz, naturally.
I have this set to : $config['cookie_domain'] = ''; What should it be set to?

>>A cookie set for path /foo won't be sent to /bar, also naturally.
This is set to $config['cookie_path'] = '/';
>>You should also check/show your cookie settings.

Where is this? Do you mean?


Code:
$config['cookie_prefix'] = '';
$config['cookie_domain'] = '';
$config['cookie_path'] = '/';
$config['cookie_secure'] = FALSE;
$config['cookie_httponly'] = FALSE;
proof that an old dog can learn new tricks
Reply


Messages In This Thread
RE: still losing session userdata across a redirect - by richb201 - 12-01-2017, 08:49 AM



Theme © iAndrew 2016 - Forum software by © MyBB