Forcing to authentificate every tiome

J

Jonas S.

Hi all,
I've a page with requirement to authentificate access every time when user
loads it. I put it into separate directory and I could set BASIC
authentification and it works fine except one thing - an authentification is
asked only first time a page is accessed.
All next requests don't require to authentificate (til you close your
browser).
Is any solution in this situation?

Tnx in advance,
Jonas
 
J

Jonas S.

Thanks Ray,
it seems to be a brutal method :) but if no any more - so it's worth to
try...

I think about two another ideas too:
1) HTTP command DISCONNECT: Closes the server connection. Can be used to
stop keep-alive behavior and to force reauthentication.
2) Is possible to do something on server side? Some specific filter, etc?

------------------
 
A

Aaron Bertrand [MVP]

1) HTTP command DISCONNECT: Closes the server connection. Can be used to
stop keep-alive behavior and to force reauthentication.

This might be a silly question, but have you tried unchecking "HTTP
Keep-Alives" in IIS? It is a trivial enable/disable option (make sure you
restart IIS after changing it, however).
2) Is possible to do something on server side? Some specific filter, etc?

No, filters (e.g. ISAPI) sit "between" IIS and the ASP code. They can't
change the fundamental behavior of IIS, as far as I know.
 

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

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,021
Latest member
AkilahJaim

Latest Threads

Top