Aura.Session icon indicating copy to clipboard operation
Aura.Session copied to clipboard

Can not set the session_name or session_params with PHP 7.2

Open timeceeper opened this issue 7 years ago • 1 comments

i can not set the session_name or session_param.

'session_set_cookie_params(): Cannot change session cookie parameters when session is active' in '\library\Aura\Session\Phpfunc.php' line 33

I think the session_set_cookie_params have to be called bevor creating the instance?

I have seen, that the project is not updated since 2 years. Is there another library uptodate?

with regards Andy

timeceeper avatar Dec 27 '17 10:12 timeceeper

Any update on this, I have the same problem?

waynehaffenden avatar Jan 15 '20 14:01 waynehaffenden

Has this ever been fixed? I am also running into this problem with v2...

robbertrosario avatar Jul 18 '23 12:07 robbertrosario

Hi there,

Apologies for the delay in writing back. This is also similar to #70 and @koriym and @NaokiTsuchiya has commented on those. https://github.com/auraphp/Aura.Session/issues/70#issuecomment-1717437756

So this seems not a problem with aura itself. But we can improve the documentation a bit.

harikt avatar Sep 14 '23 04:09 harikt