Forum Discussion

Harish_k's avatar
Harish_k
Icon for Nimbostratus rankNimbostratus
Sep 12, 2019

Cookie persistence timeout and expiration

 

Hi all,

 

In the cookie persistence settings we are seeing 2 options one is expiration and other one is timeout .

Under cookie insert method we have expiration option where by default session cookie is enabled which expires after that session or we can mention the h.m.s values.

Timeout value duration of persistence entries.

 

What is the difference between two of this?

If we mention 3600 in timeout or we use 1.0.0 in expiration are these both same or functions different?

 

Regards,

Harish

11 Replies

  • JG's avatar
    JG
    Icon for Cumulonimbus rankCumulonimbus

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

     

    • Harish_k's avatar
      Harish_k
      Icon for Nimbostratus rankNimbostratus

      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?

      • JG's avatar
        JG
        Icon for Cumulonimbus rankCumulonimbus

        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.

  • Hello

    I'm facing an issue with expiration of the session cookie.

    In my cookie persistence, "Session Cookie" option is checked but the cookie is not expiring even after closing the browser.

    I had to clear the cookies in browser.

    Can someone help me with this?