Results 1 to 4 of 4

Thread: ServerVariables

  1. #1
    Rob Guest

    Default ServerVariables

    Is there a server variable that checks to see if a browser can accept cookies (not return the value of the cookie - as in http_cookie ) ??

  2. #2
    Rob Guest

    Default RE: ServerVariables

    The only one related to cookies that I know of is<BR><BR>CERT_COOKIE<BR><BR>Rob

  3. #3
    Join Date
    Dec 1969

    Default RE: ServerVariables

    window.navigator.cookieEnabled will return true if cookies&#039re enabled or false when disabled.

  4. #4
    Mark Guest

    Default RE: ServerVariables

    There is no Server Variable that detects wheter or not a browser supports cookies. However, Microsoft has a Browser Type Component that does detect if a browser supports cookies. This component is part if IIS 4.0<BR><BR>&#060;%<BR>Set BrowserSupport=Server.CreateObject("MSWC.BrowserTy pe")<BR> If BrowserSupport.Cookies = TRUE Then<BR> &#039Browser supports cookies.<BR> Else<BR> &#039BrowserSupport.Cookies = FALSE<BR> &#039Browser does not support cookies<BR> End if<BR><BR>%&#062;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts