Changing Login.asp

Edit the login.asp file so that if IIS is reset during a session, users will be prompted to log on again.

To change Login.asp

  1. Open the login.asp file by using a plain-text application such as Microsoft Notepad. The login.asp file is located in the Program Files\Microsoft Commerce Server 2002\AuthFiles folder on the Commerce Server 2002 CD-ROM.

  2. Within the Login.asp file, search for the following text:

    if objAuth.IsAuthenticated(30)
    
  3. Replace the above text beginning with:

    if objAuth.IsAuthenticated(30)
    

and ending with:

Set objAuth = Nothing

with the following text:

PrintLogin
End If
Set objAuth = Nothing

Copyright © 2005 Microsoft Corporation.
All rights reserved.