SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    Feb 2003
    Location
    Laguna Niguel, Ca
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    delete cookie from different domain

    In my shopping cart program I use cookies to store cart contents. This is on my main site but when I go to check out then I am on a secure server on a different domain so at the end of the check out process and can not delete the cookie set by the orignal domain

    thanks in advance
    Lighting for the home, Light Fixtures
    www.Lamps-Lighting.com
    About Home Improvement and remodeling
    www.AboutHomeImprovement.com

  2. #2
    SitePoint Guru
    Join Date
    Nov 2004
    Location
    Parry Sound, ON
    Posts
    725
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Why would you want to? You can't.

  3. #3
    SitePoint Evangelist
    Join Date
    Sep 2004
    Location
    Oregon
    Posts
    445
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Idea: Use SQL databases from the first site. When being transferred to the secondary, clear the cookie, and create new -- with all contence

  4. #4
    SitePoint Evangelist
    Join Date
    Sep 2004
    Location
    Oregon
    Posts
    445
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    probably won't work though lol - just an idea

  5. #5
    SitePoint Member
    Join Date
    Feb 2003
    Location
    Laguna Niguel, Ca
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I did think about the mysql method as I could set a simple ID cookie that stays on the users computer but clears the items in the cart upon check-out but I thought having a databased cart would be slower and more work on the server
    Lighting for the home, Light Fixtures
    www.Lamps-Lighting.com
    About Home Improvement and remodeling
    www.AboutHomeImprovement.com


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
  •