Forum Discussion
From K83419154: Overview of cookie persistence:
"When you check Session Cookie (the default value), the system generates a session cookie. This cookie expires when the user session expires (that is, when the browser is closed). When you don't check Session Cookie, you can specify the expiration interval in Days, Hours, Minutes, and Seconds."
Hi JG,
Thank you, I did go through the article.
But my question is can I use expiration option instead of timeout value?
Instead of checking the session cookie I can give the values h.m.s, can I use it instead if using the timeout option?
- JGSep 12, 2019Cumulonimbus
Of course you can. The advantage of a session cookie is security, for the session will be automatically remove when the user closes the browser; otherwise, the session would persist across browser restarts, which could be a problem for computers in a public place.
- Harish_kSep 12, 2019Nimbostratus
Thank you JG, that clarifies my confusion, once you uncheck the session cookie option the functionality of expiration and the timeout option is same if my understanding is correct.
- JGSep 12, 2019Cumulonimbus
Not the same. The session cookie is more for security and the other option is for persistence only. If you unckeck the session cookie option, you can enter the timeout option, which can make the session expire before the user finishes or long after the user finises (if the user does not log out) so you need to be careful.
- Harish_kSep 12, 2019Nimbostratus
Ok..so the expiration is for the session and the timeout value is the persistence entry of that particular cookie value?
- JGSep 12, 2019Cumulonimbus
Not really. Probably it's best for you to lay out why you need the cookie in the first place so that we can work out what the config should be.
- Harish_kSep 12, 2019Nimbostratus
Ok.. so if we need the session value of cookie to end before or after the default value we can customize it to use expiration option, and mention our own values.
- JGSep 12, 2019Cumulonimbus
That is correct.
- Harish_kSep 12, 2019Nimbostratus
Thanks JG, that pretty much clarifies my doubt.