Hi there, I am having a problem where I am setting cookies and they are getting set properly for the session and work fine in that session. But once I close the browser window, they are gone and don't reappear.
You can see what I mean by looking at the main page of http://www.mackbolan.com/ You go there once and you see large #'s in the top table and your name is set to visitor. If you reload the page, you see the numbers return to 0 (as expected). If you close the browser window and go back to mackbolan.com you'll see hte numbers are high again. The cookies are not saved.
Here is an example of one of the setcookie statements I am using:
setcookie("PreviousBooks", "$number_of_books_rows", "Friday, 16-Jan-2037 00:00:00 GMT", "", "", 0);
And again if you goto the main page and refresh it (without closing window and relaunching) you'll see the cookie lists "PreviousBooks=751" as expected. And the site works fine with this setting. Its only when exiting and relaunching. Hopefully its just a basic error I am missing.
For the two empty strings I tried substituting "/", ".mackbolan.com" and still no luck. I also monkeyed around with a few different expire dates as well.
thanks in advance for your help!
-terry