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 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Feb 2009
    Location
    Idaho
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile Saving Cookies Automatically

    Hi,

    is there anyway way of saving a cookie of a certain website permanently ? there are some sites that offer cookies for each promoter. therefore even if the visitor goes through some other link of another promoter the details of the first promoter will be retrieved from the previous cookie. is it possible?

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,984
    Thanks
    203
    Thanked 2,536 Times in 2,514 Posts
    I am not sure that I understand the question, but a persistant cookie will remain active until it expires, which can be virtually indefinitely. At the same time, the user can erase (unwanted) cookies at will.

    A cookie can only be read or modified by the domain which set it.

  • #3
    New to the CF scene
    Join Date
    Feb 2009
    Location
    Idaho
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i mean is there a way of making a cookie that remains in the history for over 6 or 8 months, anyway of editing a cookie file ?

  • #4
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,984
    Thanks
    203
    Thanked 2,536 Times in 2,514 Posts
    Quote Originally Posted by heshan View Post
    i mean is there a way of making a cookie that remains in the history for over 6 or 8 months, anyway of editing a cookie file ?
    I am not sure that you understand what cookies are and how they work. A cookie will remain active until its expiry date, however long that may be, unless it is deleted by the user.

    A cookie can only be edited by replacing it with a new and updated cookie of the same name. (As a cookie is a text file the user can edit cookies on his machine, although this is likely to mean that they no longer work correctly or at all).
    Last edited by Philip M; 05-18-2009 at 06:22 PM. Reason: Typo


  •  

    Tags for this Thread

    Posting Permissions

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