CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2011
    Location
    Tennessee
    Posts
    19

    [RESOLVED] Time Out

    I hope this is the right forum.

    I have an asp.net/c# web browser application with a Response.AppendHeader "Refresh" set to time out in 10 minutes. Some users says they are being time out even while they are typing.

    This is what I have in C# code:

    Response.AppendHeader("Refresh", Convert.ToString((Session.Timeout * 60) + 10) + "; URL=" + clsIncidentReporting.urlSignOut);

    Is it wrong or do I not understand how the Response.AppendHeader works?

  2. #2
    Join Date
    May 2012
    Location
    Bonn, Germany
    Posts
    43

    Re: Time Out

    You can use a tool such as Firebug to check if the headers you (think you are) sending are really sent the way you want. Just open the Firebug extension in Firefox, go to the Network tab, enable it and load your website. Then you can inspect the server response and check for your header.

    ______________________________
    Visit my project: Derivative Calculator

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured