cookies - typo3 - undo "setSessionCookie" -


i trying implement "stay logged in" functionality in typo3 (using extbase), when user checks checkbox named "rememberme", session cookie set:

    //rememberme ?     if($user->getrememberme() == 1){         $reflection = new \reflectionclass($globals['tsfe']->fe_user);         $setsessioncookiemethod = $reflection->getmethod('setsessioncookie');         $setsessioncookiemethod->setaccessible(true);         $setsessioncookiemethod->invoke($globals['tsfe']->fe_user);     }else{         // ???      } 

this works fine, problem - do when user no longer wants permanently logged in? if checkbox unchecked - how undo session cookie without logging out user? possible?

thanks!

i think normal behavior delete the permanently-logged-in-information @ moment user logs out. imho logical , behavior.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -