Necuima Posted May 1, 2018 Share Posted May 1, 2018 Hi Larry, On page 90 you define the clean_session function but I can't figure out how to invoke it. I tried 'session_clean(seconds)' to no avail. Can you please guide me. Thanks, Necuima. Link to comment Share on other sites More sharing options...
Necuima Posted May 2, 2018 Author Share Posted May 2, 2018 Hi Larry, After another read of the book, and from the diagram on page 84, I think I understand it a bit better now, so please ignore my question above. But I do not understand where and when the session cookie gets deleted so your advice on this will be most appreciated. Thanks, Necuima. Link to comment Share on other sites More sharing options...
Larry Posted May 2, 2018 Share Posted May 2, 2018 Cool! As for the session cookie it only gets deleted if you actively call setcookie() to remove it. Link to comment Share on other sites More sharing options...
Necuima Posted May 3, 2018 Author Share Posted May 3, 2018 Thanks for getting back to me - much appreciated. I think that I will modify my PDO version of the session script to also delete the cookie. Best wishes from Oz, Necuima. Link to comment Share on other sites More sharing options...
Recommended Posts