473,395 Members | 1,726 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,395 software developers and data experts.

session/application reset

Does anyone know of a way through asp code to drop a users application
connection and prompt them for their credentials? I would like to offer the
ability to log into the application with different NT username and password
with them having to close and re-open their browser. I am using basic
athentication for my application.

Thanks
Jul 19 '05 #1
5 1893
Here is something that I bookmarked a while back but have never done
anything with it.
http://support.microsoft.com/?kbid=195192

As far as I know, IE will always try to automatically re-authenticate you
with your previous credentials if the server prompts for authentication. I
really bad way to get around this may be to cacls permissions away from
yourpage.asp when the user loads logout.asp, and then when he logs in as
someone else, cacls the permissions back. I don't think I'd be into doing
this though...

Ray at work
"Dan Reese" <dl*****@pahouse.net> wrote in message
news:uA**************@tk2msftngp13.phx.gbl...
Does anyone know of a way through asp code to drop a users application
connection and prompt them for their credentials? I would like to offer the ability to log into the application with different NT username and password with them having to close and re-open their browser. I am using basic
athentication for my application.

Thanks

Jul 19 '05 #2
You can try Session.Abandon() .

S. L.

"Dan Reese" <dl*****@pahouse.net> wrote in message
news:uA**************@tk2msftngp13.phx.gbl...
Does anyone know of a way through asp code to drop a users application
connection and prompt them for their credentials? I would like to offer the ability to log into the application with different NT username and password with them having to close and re-open their browser. I am using basic
athentication for my application.

Thanks

Jul 19 '05 #3
That was wonderful. It did exactly what I was looking for. Thank you so
very much.
"Ray at <%=sLocation%> [MVP]" <myfirstname at lane34 dot com> wrote in
message news:%2***************@TK2MSFTNGP09.phx.gbl...
Here is something that I bookmarked a while back but have never done
anything with it.
http://support.microsoft.com/?kbid=195192

As far as I know, IE will always try to automatically re-authenticate you
with your previous credentials if the server prompts for authentication. I really bad way to get around this may be to cacls permissions away from
yourpage.asp when the user loads logout.asp, and then when he logs in as
someone else, cacls the permissions back. I don't think I'd be into doing
this though...

Ray at work
"Dan Reese" <dl*****@pahouse.net> wrote in message
news:uA**************@tk2msftngp13.phx.gbl...
Does anyone know of a way through asp code to drop a users application
connection and prompt them for their credentials? I would like to offer

the
ability to log into the application with different NT username and

password
with them having to close and re-open their browser. I am using basic
athentication for my application.

Thanks


Jul 19 '05 #4
Wow, that was fast. :] I'm glad it worked out. Now I know to try it if
the need ever arises for me. [:

Ray at work

"Dan Reese" <dl*****@pahouse.net> wrote in message
news:un**************@TK2MSFTNGP09.phx.gbl...
That was wonderful. It did exactly what I was looking for. Thank you so
very much.
"Ray at <%=sLocation%> [MVP]" <myfirstname at lane34 dot com> wrote in
message news:%2***************@TK2MSFTNGP09.phx.gbl...
Here is something that I bookmarked a while back but have never done
anything with it.
http://support.microsoft.com/?kbid=195192

As far as I know, IE will always try to automatically re-authenticate you with your previous credentials if the server prompts for authentication.

I
really bad way to get around this may be to cacls permissions away from
yourpage.asp when the user loads logout.asp, and then when he logs in as
someone else, cacls the permissions back. I don't think I'd be into doing this though...

Ray at work
"Dan Reese" <dl*****@pahouse.net> wrote in message
news:uA**************@tk2msftngp13.phx.gbl...
Does anyone know of a way through asp code to drop a users application
connection and prompt them for their credentials? I would like to
offer the
ability to log into the application with different NT username and

password
with them having to close and re-open their browser. I am using basic
athentication for my application.

Thanks



Jul 19 '05 #5
Yeah tried that. Wish it would have been that easy.
"Sylvain Lafontaine" <sylvain aei ca (fill the blanks, no spam please)>
wrote in message news:%2****************@TK2MSFTNGP12.phx.gbl...
You can try Session.Abandon() .

S. L.

"Dan Reese" <dl*****@pahouse.net> wrote in message
news:uA**************@tk2msftngp13.phx.gbl...
Does anyone know of a way through asp code to drop a users application
connection and prompt them for their credentials? I would like to offer

the
ability to log into the application with different NT username and

password
with them having to close and re-open their browser. I am using basic
athentication for my application.

Thanks


Jul 19 '05 #6

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

Similar topics

6
by: Brian Brinks | last post by:
I am having some trouble with seesion variables. I have just moved hosting companies to Brinkster.com but have been having problems with my applications holding session. They say they can't...
5
by: ASP.Confused | last post by:
As you can tell from my previous posts on this issue...I'm really confused :-/ I have a few ASP.NET web applications on my web host's "https" server. Our web host has a single "bin" folder for...
13
by: Alexander Widera | last post by:
hi, who has seen the follow problem or could help please? i visit a page .... i read a sesssion-var . ... everythink works...... i visit the page again..... error ... the sessionvar is null .... i...
10
by: tshad | last post by:
I have been using the default session state (InProc) and have found that I have been loosing my information after a period of time (normally 20 minutes). Is there anyway to find out how much...
8
by: ari | last post by:
hey all, i'm trying to make my app as stateless as possible. is it ok to create a dataset and store in viewstate and whenever the user decides to select a from that dataset, to move from...
3
by: Chris Rathman | last post by:
I'm having problems with the Session variables disappearing between page calls and thought someone might be able to help me find the errors of my ways. The problem surfaces in two different ways:...
1
by: Ken Varn | last post by:
My ASP.NET application has a module that needs to change the local system time on the hosting machine. I have session timeouts enabled, but I need to reset the session timeout if the local system...
3
by: CBKowitz | last post by:
Has anyone encountered this problem? I start debugging my application and the session get reset (as far as I can tell). I then stop and restart and everything is fine. Basically the symptoms...
0
by: Untitled | last post by:
Using Ajax .NET (or javascript) to auto-refresh some pages causes the Session timeout to reset. In my application I have certain panels that i would like to update every 10 seconds or so, but i...
3
by: =?Utf-8?B?cm9kY2hhcg==?= | last post by:
hey all, is there another way to clear out Application Session variables besides doing an iisreset? Could you just reset the one application/virtual directory? thanks, rodchar
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.