how can I see if browser that visits 1 page is accepting cookies
jarboy
10:41 am on Feb 28, 2005 (gmt 0)
Hi,
If we have a single page visit how might I find out if we have set a cookie (assuming there was no previuosly set cookie)? I was thinking iframes or something might allow it. Or a page refresh maybe.
carguy84
11:01 pm on Feb 28, 2005 (gmt 0)
Check to see if there is a cookie already set at the top of the code. If not, try and add a cookie at the top of the code, then check for it again at the bottom of the code.
Lord Majestic
11:07 pm on Feb 28, 2005 (gmt 0)
Additional objects such as images that will be requested from your page should have cookie set in their requests. They can be cached from previous visit however. You can create a logging script that will be called in place of a small 1x1 transparent image.
mattglet
1:42 am on Mar 1, 2005 (gmt 0)
You cannot set and retrieve a cookie on the same page. You need to set the cookie on one page, then check for it on another.
The iframe solution might work, though. Give it a shot, and report back.