Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

setting a cookie to logon_user with asp

  Asked By: Bhavika    Date: Mar 09    Category: Sharepoint    Views: 1459

any idea why this isn't working for me?

dim userlogon
userlogon = request.servervariables("LOGON_USER")
response.cookies("logon") = userlogon
response.cookies("pwd") = "help"



1 Answer Found

Answer #1    Answered By: Jerod Carrillo     Answered On: Mar 09

The Security settings in IIS where this file resides must be having
either Basic OR Windows Integrated settings. It will not work with
"Anonymous" user settings.

Didn't find what you were looking for? Find more on setting a cookie to logon_user with asp Or get search suggestion and latest updates.