#1
  1. No Profile Picture
    SpeedyDan
    Guest
    Devshed Newbie (0 - 499 posts)
    Hi there,

    is there a way to get the expiry date from a variable? I'm reading the value with the $cookiename that I set but I can't seem to display the expiry date...

    Thanks

    ------------------
    See ya and thanks

    &Dan
  2. #2
  3. .Net Developer
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2000
    Location
    London
    Posts
    987
    Rep Power
    15
    I think it is not possible to find out expiry date..actually i haven't tried that sofar...

    ------------------
    SR -
    webshiju.com
    www.jobxyz.com-IT Career Portal
    ezipindia.com--WebStudio


    "The fear of the LORD is the beginning of knowledge..."
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Location
    Alkmaar, The Netherlands
    Posts
    123
    Rep Power
    15
    If I'm correct you can only sent the expiration date to the clients browser. It is the browser that will decide when the cookie is expired. When a request is made only the cookie value is put into the request-header. So like Shiju said, you can't read it anymore.

    ------------------
    Good luck,
    Bas

    ------------------
    E-mail me at: b.vandermeijden@pecoma.nl
  6. #4
  7. No Profile Picture
    SpeedyDan
    Guest
    Devshed Newbie (0 - 499 posts)
    thanks a lot for the help...

    &Dan

Similar Threads

  1. Placing user-entered data into cookie
    By Tyrone in forum Perl Programming
    Replies: 2
    Last Post: February 17th, 2004, 04:31 PM
  2. cookie expiry
    By ThundaCat in forum PHP Development
    Replies: 2
    Last Post: January 30th, 2004, 09:00 PM
  3. How do you set a past date to expire cookie in MSIE?
    By mikeaflorida in forum HTML Programming
    Replies: 1
    Last Post: October 14th, 2003, 11:25 PM
  4. date addition problem
    By strange1 in forum PHP Development
    Replies: 3
    Last Post: October 6th, 2003, 04:01 PM
  5. PHP cookie date time stamp
    By referendo in forum PHP Development
    Replies: 0
    Last Post: August 12th, 2003, 05:51 PM

IMN logo majestic logo threadwatch logo seochat tools logo