Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Authentication question

Reply
Thread Tools

Authentication question

 
 
David Kleyman
Guest
Posts: n/a
 
      12-17-2003
I would like to find out if there is a way to SignOut() the user and
redirect the browser back to login page after time out period expired
I've added these settings to my web.config file but they don't seem to take
any effect
<authentication mode="Forms">

<forms name="frmLogin.aspx" loginUrl="/frmLogout.aspx?timeout=1" timeout="1"
slidingExpiration="true" requireSSL = "false"></forms>

</authentication>

I know that there is a "refresh" metatag that I can use like this one

<meta http-equiv="refresh" content="30; url=frmLogout.aspx?timeout=1">

but that refreshes the page no matter if the users actively typing something
into the textboxes on the page or if they are idle.

Is there something I can do to accomplish this?

Thank you

David


 
Reply With Quote
 
 
 
 
Jim Cheshire [MSFT]
Guest
Posts: n/a
 
      12-17-2003
David,

There is no way to do this because you are working in a connectionless
environment. The server does not interact with the client except in
response to a request from the client.

Jim Cheshire, MCSE, MCSD [MSFT]
Developer Support
ASP.NET
http://www.velocityreviews.com/forums/(E-Mail Removed)

This post is provided as-is with no warranties and confers no rights.

--------------------
>Reply-To: "David Kleyman" <(E-Mail Removed)>
>From: "David Kleyman" <(E-Mail Removed)>
>Subject: Authentication question
>Date: Tue, 16 Dec 2003 21:27:34 -0500
>Lines: 25
>Organization: BeNOW, Inc.
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <(E-Mail Removed)>
>Newsgroups: microsoft.public.dotnet.framework.aspnet
>NNTP-Posting-Host: fwtpcbur.benow.com 206.64.202.2
>Path:

cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTN GP08.phx.gbl!TK2MSFTNGP10.
phx.gbl
>Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.framework.aspnet:196784
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>
>I would like to find out if there is a way to SignOut() the user and
>redirect the browser back to login page after time out period expired
>I've added these settings to my web.config file but they don't seem to take
>any effect
><authentication mode="Forms">
>
><forms name="frmLogin.aspx" loginUrl="/frmLogout.aspx?timeout=1"

timeout="1"
>slidingExpiration="true" requireSSL = "false"></forms>
>
></authentication>
>
>I know that there is a "refresh" metatag that I can use like this one
>
><meta http-equiv="refresh" content="30; url=frmLogout.aspx?timeout=1">
>
>but that refreshes the page no matter if the users actively typing

something
>into the textboxes on the page or if they are idle.
>
>Is there something I can do to accomplish this?
>
>Thank you
>
>David
>
>
>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed Authentication, Status "Unsupported Authentication Algorithm" Rafael Cisco 1 11-26-2004 03:57 PM
Forms Authentication question: How to have some pages open and some requiring forms authentication Eric ASP .Net 2 02-13-2004 02:14 PM
ASP.Net Forms authentication with basic authentication popup Brett Porter ASP .Net 2 01-20-2004 02:17 PM
Moving from Baisc Authentication to Forms Authentication raj mandadi ASP .Net 0 12-22-2003 12:16 AM
Forms Authentication, external authentication server, & rerouting to orig. req. URL Andrew Connell ASP .Net 1 10-21-2003 05:41 PM



Advertisments