Hi,
I'm making heavy use of cookie in my website. By default, my pages assume the user's browser support cookie. This is not a good way to do it. So I'm hoping to be able to detect whether the user support cookie before displaying my page so that anyone who does not support cookie will be pointed to a totally different layout. It would be best if I can detect it before the header.
Can anyone help please?
Thanks in advance!
hi you can try this in javascript, this tell whether browser supports cookies or not
if(document.cookies) {// do something }
am not sure about its pertinence in your case, but give it a go....
you can also make a splash page that sets a cookie and then your script can check to make sure the cookie has been set before executing.