Custom Session Duration

Article author
Duncan Hamra
  • Updated

By default, the session duration is 3 days. You can lengthen or shorten that to whatever you like. 

Add the following code to the header script of every page, or each page with a signup form. 

The ms_session_duration_days accepts decimals. Use this handy tool to convert minutes or hours to decimals days. 

 

<!--Session Duration-->
<script> ms_session_duration_days = 14 //days </script>

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.