Gossamer Forum
Home : General : Perl Programming :

cookie problem

Quote Reply
cookie problem
I have a website, http://***.com/test, which has cookies. It doesn't work only after I visite another site, https://my.***.org. This site also writes out a cookie file. If I delete this cookie file, the site ***.com/test works fine.
It seems cookies from my.***.org is interfering with ***.com/test.

Does anyone have any clue why this is happening? These two sites have
different cookie names.

Thank you!
Quote Reply
Re: [hpdp] cookie problem In reply to
Only cookies set by the same top level domain can read or alter each others values.

The problem might be with your browser or within the script(s) setting/reading the cookies.
Quote Reply
Re: [hpdp] cookie problem In reply to
The TEST site having problem is:
http://web.ncbi.nlm.nih.gov/...oolQuery.cgi?term=nn
it works fine. But if you visit another site
my.nih.gov (you don't have to login, just load this page)
this site will write out a cookie file.
Then you will get an error when going to TEST site.
After you delete the cookie file, written by my.nih.gov, from window explorer on your computer, and open the TEST site in an new browser(I'm using IE), it works fine again.

Any clue?

Thanks!
Quote Reply
Re: [hpdp] cookie problem In reply to
I do see the error when I follow the steps.

An error message will probably be written to your error log which may help explain the problem.