Log on to webapp with multiple accounts

  • Thread starter Thread starter kederstedt
  • Start date Start date
K

kederstedt

I have a webbapplication(c# ASP.net vs2003) that uses Windows
Authentication(IIS 6.0).
I would like to create a button that opens a new InternetExplorer
window but loggs on as a different user, so I have two windows to the
same application but different users.

Is this possible? Does anyone have an exemple.

Thanks
JOhan
 
You to set WWW-Autheticate header when opening a new window for a different
user,


Response.Status = "401 Unauthorised"
Response.AddHeader "WWW-Authenticate", "NTLM"
Response.End

The above lines of code will open a IE Authentication dialog box always.

HTH,
Holy
 
Hi,

Thanks, I think your solution can help us with another problem.


Do you know if it is possible to send username and password to the new
window by code?

We are looking for a solution where the support crew can search for a
user and then log on too the application with that account. It has to
be simple as possible for the support personal.

Thanks
//Johan


Holysmoke skrev:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top