473,394 Members | 1,866 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Log on to webapp with multiple accounts

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

Jun 30 '06 #1
2 1083
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
"ke********@rocketmail.com" wrote:
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

Jun 30 '06 #2
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:
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
"ke********@rocketmail.com" wrote:
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
Jul 3 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Anakim Border | last post by:
App servers such as quixote, webware and skunkweb (just to name a few) offer a clean environment to develop Python webapps. I have some problems, however, understanding their security model. My...
4
by: Rob Nicholson | last post by:
Is there a nice reference somewhere that explains how all the security accounts (e.g. ASPNET) used in VB.NET, ASP.NET running on IIS5? I find the whole thing a bit of a mystery :-) Thanks, Rob.
12
by: Mats Lycken | last post by:
Hi, I'm creating a CMS that I would like to be plug-in based with different plugins handling different kinds of content. What I really want is to be able to load/unload plugins on the fly without...
4
by: =?Utf-8?B?Sm9l?= | last post by:
I am working on a web app that required authentication to AD. The authentication is working fine the way I am doing it, but was wondering what the best practice is. My code doesn't actually...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.