Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > when page timeout

Reply
Thread Tools

when page timeout

 
 
rodchar
Guest
Posts: n/a
 
      03-27-2008
hey all,
what do i have to do to make it where if my page is timed out to
automatically go back to login screen?

thanks,
rodchar
 
Reply With Quote
 
 
 
 
Peter Bromberg [C# MVP]
Guest
Posts: n/a
 
      03-27-2008
If a page times out because you have some long-running process going on,
there's not much you can do at that point. Your user would still be logged
in, why do you need to take them back to the login page? Better to refactor
in such a way that you run the process on a background thread rather than
tying up page processing.
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short Urls & more: http://ittyurl.net


"rodchar" wrote:

> hey all,
> what do i have to do to make it where if my page is timed out to
> automatically go back to login screen?
>
> thanks,
> rodchar

 
Reply With Quote
 
 
 
 
rodchar
Guest
Posts: n/a
 
      03-27-2008
well i mean if a user has left their desk and has no activity.

"Peter Bromberg [C# MVP]" wrote:

> If a page times out because you have some long-running process going on,
> there's not much you can do at that point. Your user would still be logged
> in, why do you need to take them back to the login page? Better to refactor
> in such a way that you run the process on a background thread rather than
> tying up page processing.
> -- Peter
> Site: http://www.eggheadcafe.com
> UnBlog: http://petesbloggerama.blogspot.com
> Short Urls & more: http://ittyurl.net
>
>
> "rodchar" wrote:
>
> > hey all,
> > what do i have to do to make it where if my page is timed out to
> > automatically go back to login screen?
> >
> > thanks,
> > rodchar

 
Reply With Quote
 
Peter Bromberg [C# MVP]
Guest
Posts: n/a
 
      03-27-2008
OK, well if a user has left their desk and their Forms Authentication ticket
(cookie) has expired, then the next time they try to do something, they
should automatically be redirected to the login page since they are no longer
authenticated. All this stuff is set up in your web.config file.
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short Urls & more: http://ittyurl.net


"rodchar" wrote:

> well i mean if a user has left their desk and has no activity.
>
> "Peter Bromberg [C# MVP]" wrote:
>
> > If a page times out because you have some long-running process going on,
> > there's not much you can do at that point. Your user would still be logged
> > in, why do you need to take them back to the login page? Better to refactor
> > in such a way that you run the process on a background thread rather than
> > tying up page processing.
> > -- Peter
> > Site: http://www.eggheadcafe.com
> > UnBlog: http://petesbloggerama.blogspot.com
> > Short Urls & more: http://ittyurl.net
> >
> >
> > "rodchar" wrote:
> >
> > > hey all,
> > > what do i have to do to make it where if my page is timed out to
> > > automatically go back to login screen?
> > >
> > > thanks,
> > > rodchar

 
Reply With Quote
 
rodchar
Guest
Posts: n/a
 
      03-28-2008
thank you for the tips,
rod.

"Peter Bromberg [C# MVP]" wrote:

> OK, well if a user has left their desk and their Forms Authentication ticket
> (cookie) has expired, then the next time they try to do something, they
> should automatically be redirected to the login page since they are no longer
> authenticated. All this stuff is set up in your web.config file.
> -- Peter
> Site: http://www.eggheadcafe.com
> UnBlog: http://petesbloggerama.blogspot.com
> Short Urls & more: http://ittyurl.net
>
>
> "rodchar" wrote:
>
> > well i mean if a user has left their desk and has no activity.
> >
> > "Peter Bromberg [C# MVP]" wrote:
> >
> > > If a page times out because you have some long-running process going on,
> > > there's not much you can do at that point. Your user would still be logged
> > > in, why do you need to take them back to the login page? Better to refactor
> > > in such a way that you run the process on a background thread rather than
> > > tying up page processing.
> > > -- Peter
> > > Site: http://www.eggheadcafe.com
> > > UnBlog: http://petesbloggerama.blogspot.com
> > > Short Urls & more: http://ittyurl.net
> > >
> > >
> > > "rodchar" wrote:
> > >
> > > > hey all,
> > > > what do i have to do to make it where if my page is timed out to
> > > > automatically go back to login screen?
> > > >
> > > > thanks,
> > > > rodchar

 
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
How to redirect timeout page when session timeout? ABC ASP .Net Security 1 04-20-2006 10:36 AM
Timeout::timeout and Socket timeout Mark Probert Ruby 1 10-06-2004 09:30 AM
Re: ASPX Page Timeout - Session Timeout bruce barker ASP .Net 2 07-20-2004 08:39 PM
web.config session timeout and forms authentication timeout Do ASP .Net 2 11-23-2003 02:27 PM
Re: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. Bob Johnson ASP .Net 0 08-07-2003 12:52 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57