BLiZZaRD
10-19-2005, 04:09 PM
I want to make a simple (VERY simple) cookie that will be placed on my visitors browser when they visit one specific page (NOT the index)
I have read and googled and read and googled and my eyes are about to pop out.
I found a cookie writing program, and I wrote a cookie code that includes the information I want in the cookie.
What I can NOT figure out, is how to impliment the cookie code into a specific page. Is the cookie its own page? Do I need to make a cookie file? do I need to add code to a .htm page? How does this get put into a cache on someone elses computer?
EXAMPLE: Visitor browses site and ends up going to www.mysite.com/chocolatechip/peanutbutter.htm
when they go to this page I want the cookie to be added to their cache then, and only then.
Is this possible? I know it is, or else I wouldn'thave to clean out my cookies folder all the time... but how do I do it?
Thanks!
I have read and googled and read and googled and my eyes are about to pop out.
I found a cookie writing program, and I wrote a cookie code that includes the information I want in the cookie.
What I can NOT figure out, is how to impliment the cookie code into a specific page. Is the cookie its own page? Do I need to make a cookie file? do I need to add code to a .htm page? How does this get put into a cache on someone elses computer?
EXAMPLE: Visitor browses site and ends up going to www.mysite.com/chocolatechip/peanutbutter.htm
when they go to this page I want the cookie to be added to their cache then, and only then.
Is this possible? I know it is, or else I wouldn'thave to clean out my cookies folder all the time... but how do I do it?
Thanks!