SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot
    Join Date
    Jul 2009
    0 Post(s)
    0 Thread(s)

    cookie doubt solve if any body know the solution

    hello friends i have fixed the cookie for my site where it is working properly but their is coming an issue

    the issue is while i type it will create cookie and then i will open a new tab and type it is not taking the cookie which is created for the why i dont know but if i will type it will take the cookiee and work according to the program ie i am meaning what while i am typing one cookie is creating and another cookiee is creating i need to avoid this how i need to make both address same cookiee how ?

    if anybody know pls tell.......

  2. #2
    Follow Me On Twitter: @djg gold trophysilver trophybronze trophy Dan Grossman's Avatar
    Join Date
    Aug 2000
    Philadephia, PA
    1 Post(s)
    0 Thread(s)

    The fifth parameter to setcookie is the domain

    Set it to ""

    The manual had the answer to your question, always check there first


Posting Permissions

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