Is there a bulletproof way to determine that a user's browser allows
cookies, and therefore session cookies? After validating a users login
credentials I tried:


set session("Has_Cookies_Enabled";"Yes")

if(get session("Has_Cookies_Enabled")="Yes")
    get into site
Else
    cookie alert back to visitor
End if

Cookies are just part of the headers and aren't sent until the current request ends, so you can't set and then test in the same request.

Do a search on the internet for cookie test, you'll find a million references with sample code on how to do it.

Regards,

   Aparajita
   Victory-Heart Productions
   www.aparajitaworld.com

   "If you dare to fail, you are bound to succeed."
   - Sri Chinmoy   |   www.srichinmoylibrary.com

_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to