Hello.
I have a web site that is using Basic Authentication (yes, I am using HTTPS)
and is sessionless (I am maintaining session state in a database via a
custom component).
When the user clicks "Log Off", or when a cookie expires, I want to
Un-Authenticate the user so that he/she cannot back-pedal to a page without
having to sign in again.
Basically, I want to clear the users credentials.
Anyone know how?
Thanks in advance,
Mike 3 1662
Session.Abandon
Session.End
--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com
"mike" wrote: Hello.
I have a web site that is using Basic Authentication (yes, I am using HTTPS) and is sessionless (I am maintaining session state in a database via a custom component).
When the user clicks "Log Off", or when a cookie expires, I want to Un-Authenticate the user so that he/she cannot back-pedal to a page without having to sign in again.
Basically, I want to clear the users credentials.
Anyone know how?
Thanks in advance,
Mike
Hi, Curt.
The site is sessionless, so there is no Session object.
"Curt_C [MVP]" <software_at_da rkfalz.com> wrote in message
news:FC******** *************** ***********@mic rosoft.com... Session.Abandon Session.End
-- Curt Christianson site: http://www.darkfalz.com blog: http://blog.darkfalz.com "mike" wrote:
Hello.
I have a web site that is using Basic Authentication (yes, I am using HTTPS) and is sessionless (I am maintaining session state in a database via a custom component).
When the user clicks "Log Off", or when a cookie expires, I want to Un-Authenticate the user so that he/she cannot back-pedal to a page without having to sign in again.
Basically, I want to clear the users credentials.
Anyone know how?
Thanks in advance,
Mike
My bad... thought you were storing the credentials there.
Basically, if they authenticate the security ticket is issued. Short of
closing the browser there isn't a whole lot (that I'm aware of) that you can
do to clear this.
It's why you always see the nice warnings about making sure you close your
browser.
--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com
"mike" wrote: Hi, Curt.
The site is sessionless, so there is no Session object.
"Curt_C [MVP]" <software_at_da rkfalz.com> wrote in message news:FC******** *************** ***********@mic rosoft.com... Session.Abandon Session.End
-- Curt Christianson site: http://www.darkfalz.com blog: http://blog.darkfalz.com "mike" wrote:
Hello.
I have a web site that is using Basic Authentication (yes, I am using HTTPS) and is sessionless (I am maintaining session state in a database via a custom component).
When the user clicks "Log Off", or when a cookie expires, I want to Un-Authenticate the user so that he/she cannot back-pedal to a page without having to sign in again.
Basically, I want to clear the users credentials.
Anyone know how?
Thanks in advance,
Mike This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: fartsniff |
last post by:
Hello all.
Can someone help out ? I found this PHP code that works just fine, however,
I am trying to put it back into its original Javascript form.
I am still learning the syntax, etc. for Javascript, so I'm not really sure
what needs
to be removed and kept.
I was trying the basic search/replaces, but always ended up with Javascript
errors.
|
by: Chuck Martin |
last post by:
I am having a most frustrating problem that references, web searches,
and other resources are no help so far in solving. Basically, I'm trying
to design a pop-up window to be called with a funciton in a link. that
function can have parameters for URL and window name passed to it.
This works peachy in Firefox (1.0). With IE 6 (6.0.29) on two separate
computers, I get an "onject expected" error. Going to the MS-based
debugger just tells me...
|
by: cristiank |
last post by:
hi everybody,
I need to clear something out,
does anybody have ever encountered such an exception until now :
"Un unhandled exception of type System.NullReferenceException occurred in
system.windows.forms.dll
Additional information: Object reference not set to an instance of an
object."
I receive this exception when I use HelpProvider and play a little with the
question mark upon different controls.
|
by: Andy Sutorius |
last post by:
Hi,
I have a folder with a web.config file using forms authentication thus
requiring that folder to be an IIS application. When I attempt to visit a
webpage in that folder, default.aspx, I receive the error: could not load
type "namespace.classname"
I found MS KB #306155 and followed the recommended steps of performing a
build on the web project. I am still receiving the error. I thought I had
this problem solved in a previous post...
|
by: Viken Karaguesian |
last post by:
Hello all,
On occasion I want to open hyperlinks (images, etc.) in a new window. In the
past, I've used target="_blank" to open the link in a new window. However,
using the "target" attribute causes my pages to fail validation (strict
doctype). The validator says "There is no attribute 'target'.."
So...how do I open a link in a new window, without Javscript, and pass
strict validation?
| |
by: Michael R |
last post by:
It's an interesting question, as I see it.
I have a form, in which there are a few command buttons, which change color when the mouse is on top of them (On Mouse Move). Now, I want the color to be changed back to normal when the mouse moves away from the command's button area. The only way I have figured up untill now how of to do it, is having a big text box around the command buttons area, which is sent to back, and to have On Mouse Move...
|
by: three-eight-hotel |
last post by:
I'm somewhat of a newbie to PHP coding, but have developed a site
using the technology, and have been pleasantly surprised by the
capabilities offered. I am more comfortable in the ASP world, however
and am really struggling with managing sessions in PHP, based on my
experiences with managing sessions in ASP.
99.9% of the feedback I have seen when dealing with the errors has
referred to having whitespace before the <?php or after the...
|
by: Bill H |
last post by:
25 years ago every computer came with some form of Basic interpreter
so you could use yoru computer without having to buy more software. Is
Javascript (teamed with HTML) set to become the new Basic, where
anyone with a computer can start writing code without having to
purchase any expensive languages?
Bill H
|
by: CuTe_Engineer |
last post by:
hii,
i have cs assignment i tried to solve it but i still have many
errors , plzz help mee :"< it`s not cheating becuz i`ve tried & wrote
the prog. i just wanna you to show me my mistakes
#these are the operations
+ = ,
- = ,
* = ,
1/ = only if 0 not in .
|
by: maya |
last post by:
hi,
so what is "modern" javascript?? the same as "DOM-scripting"? i.e.,
editing content (or changing appearance of content) dynamically by
massaging javascript objects, html elements, etc? (in conjunction with
css, you know, the usual...;) this is what is meant by "modern"
javascript?? so how do folks feel about this who think javascript is so
evil they disable it from their browsers?? do sites designed with
"modern" javascript...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| | |