Cookie Routines

The following cookie processing utility routines are defined in this file:

  • CorrectRequest
    This sub corrects a cookie for URL case-sensitivity.
  • GetCorrectedCookiePath
    This function converts the case of a cookie path to match the Internet Information Services (IIS) application name, returning True if any character case was converted, and False otherwise.
  • GetCorrectedHostName
    This function corrects the host name in the url parameter, if needed. It returns True if the host name was corrected, and False otherwise.
  • GetIISApplicationName
    This function returns the Internet Information Services (IIS) application name.
  • GetRequestType
    This function returns the type of request (POST or GET).
  • SetTestCookie
    This sub sets a test cookie to learn if a browser allows cookies.

Copyright © 2005 Microsoft Corporation.
All rights reserved.