when page timeout

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?cm9kY2hhcg==?=

    when page timeout

    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
  • =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=

    #2
    RE: when page timeout

    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

    Comment

    • =?Utf-8?B?cm9kY2hhcg==?=

      #3
      RE: when page timeout

      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

      Comment

      • =?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=

        #4
        RE: when page timeout

        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

        Comment

        • =?Utf-8?B?cm9kY2hhcg==?=

          #5
          RE: when page timeout

          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

          Comment

          Working...