Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: Limited Cookies

  1. #1
    New to the CF scene
    Join Date
    Nov 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Limited Cookies

    Hello all, i'm new here, and am hoping to find a solution to my website dilemma.

    My website has cookies that last through an infinite duration until the browser removes cookies. For the website, this can prevent statistics from updating currectly.

    So my question is, how can I setup my website to create cookies that only last until the browser is closed.

    Thank you!

    -Brad

  • #2
    Senior Coder
    Join Date
    Oct 2005
    Posts
    1,340
    Thanks
    0
    Thanked 61 Times in 60 Posts
    Just don't set the expiration date and it will be removed when the session ends.

  • #3
    New to the CF scene
    Join Date
    Nov 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks. I'll check it out right away.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •