473,407 Members | 2,315 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,407 software developers and data experts.

How to detect the user has logged out?

I am using forms authentication to handle the login of user for a site. Once
the user is signed out via
FormsAuthentication.SignOut(), i want to detect that he has logged out and
then display a message on the login page (to which he is redirected) saying
"You have been logged out". I am sure it is something easy whic i am not
seeing. Thanks....
Nov 18 '05 #1
1 1336
just response.redirect them after the call

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"Showjumper" <sh*******@grkjashdjkf.com> wrote in message
news:e2**************@TK2MSFTNGP10.phx.gbl...
I am using forms authentication to handle the login of user for a site. Once the user is signed out via
FormsAuthentication.SignOut(), i want to detect that he has logged out and
then display a message on the login page (to which he is redirected) saying "You have been logged out". I am sure it is something easy whic i am not
seeing. Thanks....

Nov 18 '05 #2

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

Similar topics

3
by: Lord2702 | last post by:
Sat. Oct. 30, 2004 3:25 PM PT I want to detect, if user has close the browser, (after logging to my site), that user has closed the browser. How to achieve it ? I want to know this close action...
0
by: Tim | last post by:
Hello, I'm trying to use a very simple case of MS Passport: Detect if a user is logged in via MS passport; if yes then return the username, else redirect to the Microsoft-hosted login site. ...
4
by: Jarod_24 | last post by:
How do a windows-service detect whether a user is logged or not on a computer? So far i've found nothing in the windows api or any code examples that will allow me to figure this out. The...
5
by: jehugaleahsa | last post by:
Hello: Can someone tell me how a web application knows whether a user is logged in? Somehow, web applications can detect whether someone has already logged in. I know all about ASP...
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
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
agi2029
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,...
0
isladogs
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...

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.