Welcome Guest, Not a member yet? Register   Sign In
Session cookie expiry based on local time
#5

[eluser]WanWizard[/eluser]
Maybe another difference: have you switched cookie encryption off?

I only use encrypted cookies, and that works file with all browsers I have at my disposal here. I'll try some testing without encryption.

EDIT: that's the issue. To fix it, in _get_cookie_data(), encode the data if no encryption is used:
Code:
// if encryption is not used, we provide an md5 hash to prevent userside tampering
$cookie_data = rawurlencode($cookie_data).md5($cookie_data.$this->encryption_key);


Messages In This Thread
Session cookie expiry based on local time - by El Forum - 08-02-2010, 02:00 PM
Session cookie expiry based on local time - by El Forum - 08-15-2010, 07:43 PM
Session cookie expiry based on local time - by El Forum - 08-16-2010, 02:26 AM
Session cookie expiry based on local time - by El Forum - 08-16-2010, 07:29 AM
Session cookie expiry based on local time - by El Forum - 08-16-2010, 09:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB