Results 1 to 2 of 2

Thread: Cookies

  1. #1
    Join Date
    Nov 2004
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation Cookies

    hey, i just got this project to do for a client..im on a chef's site and they have you go to the first page to choose ur country or origin...and when you click on it, it sends a cookie to ur computer..well they want me to beable to make a button or something that would let you click a link or a button that would reset the cookie incase you end up moving and need to see the page in a different country...

    please can someone help me find a script or something that would alow me to put up a link or button on the page itself to send it back to the first original page

  2. #2
    Join Date
    Sep 2004
    Location
    Little Falls, Roodepoort, South Africa
    Posts
    417
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default

    Hi Firefox

    Try this.. found it on the www

    <%response.buffer=true%>
    <html><head>
    <TITLE>cookiesformforget.asp</TITLE></head>
    <body bgcolor="#FFFFFF">
    <%
    cookiepath="/learn/test"
    cookiedomain=".www.activeserverpages.com"
    cookiesdie=date-365
    Response.Cookies("thatperson").Expires = cookiesdie
    Response.Cookies("thatperson").Domain = cookiesdomain
    Response.Cookies("thatperson").Path = cookiespath
    response.write "I will not remember you"
    %>
    </body></html>

    rgds,Simonf

Bookmarks

Posting Permissions

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