Jump to content

Setting cookie expiration


ChrisSmith

Recommended Posts

 

Hello, I'm trying to set cookies to expire beyond the session. In the /public_html/php.ini file, I changed the setting from 0 to the value below and it still reads expires on session when I inspect in my Chrome debugger. I want to set it to expire in 30 days, so I entered the equivalent amount of seconds in session.cookie_lifetime. Is this correct or do I need to change a setting somewhere else? 

 

Thanks in advance for your help.

 

Chris Smith,

www.ndbair.com

 

image.png?width=604&height=554

 

 

image.png?width=1440&height=648

 

Link to comment
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.   Restore formatting

  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...