Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Detect if cookies are enables without having to reload or write one...

Status
Not open for further replies.

gameon

Programmer
Feb 23, 2001
325
GB
Hi, is it possible to Detect if cookies are enables without having to reload or write one...

M")
 
Hi,

No, because the technology means that you should not be able to read any other cookies then the one you set, and the only way to test it is to write one.

Whats wrong with writing one anyway?

Cheers

James
 
I want to detect cookies for the whole site, then re-directing to a nocookies page if they are not enabled...
 
Hi,

Then you have to write a cookie and then detect it by seeing if you can read it on the next page. From that point you can redirect it. Its done using ASP normally.

Do you need a script for this?

Cheers

James

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top