Remove cookie value when all browsers closed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • webster5u
    New Member
    • Jan 2008
    • 28

    Remove cookie value when all browsers closed

    Miss/Mr. Programmer,

    I have a idea to remove the cookie value from a website after all browser closed. It is like session kept in server and eliminate after all browser closed. My purpose is reducing browsing security issue through minimize the data resident in the cookie.

    The reason i using the cookie instead of session because I used cookie in applying SSO (Single Sign On) for different web application server instead of single server.

    I know we able detect a browser closed via onunload javascript, but i need to detect when i closed all browser. Please advice it.
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    use the Cookie’s Discard flag.

    Comment

    • webster5u
      New Member
      • Jan 2008
      • 28

      #3
      You mean Cookie Discard property from .Net Library class?
      I'm actually developing via the J2EE language so this cannot be done in my code.

      Comment

      • Dormilich
        Recognized Expert Expert
        • Aug 2008
        • 8694

        #4
        Originally posted by webster5u
        You mean Cookie Discard property from .Net Library class?
        no, I mean the cookie’s discard flag. as defined in RFC 2965.

        Comment

        Working...