Necuima 18 Posted May 1, 2018 Report 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. Quote Link to post Share on other sites
Necuima 18 Posted May 2, 2018 Author Report 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. Quote Link to post Share on other sites
Larry 428 Posted May 2, 2018 Report Share Posted May 2, 2018 Cool! As for the session cookie it only gets deleted if you actively call setcookie() to remove it. Quote Link to post Share on other sites
Necuima 18 Posted May 3, 2018 Author Report 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. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.