Jump to content
Larry Ullman's Book Forums

Recommended Posts

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Cool! As for the session cookie it only gets deleted if you actively call setcookie() to remove it.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...