1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

how to stop timeout in asp.net

Discussion in 'C#' started by Unique.Suren, Dec 7, 2010.

  1. #1
    Hey Friends,

    anyone knows how to stop timeout in asp.net i.e. can we alert some msg to client whenever timeout occurs and redirect to login page...??

    thanx
     
    Unique.Suren, Dec 7, 2010 IP
  2. bibinsmk

    bibinsmk Active Member

    Messages:
    205
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #2
    We set the time out limit in web config file
     
    bibinsmk, Dec 8, 2010 IP
  3. camjohnson95

    camjohnson95 Active Member

    Messages:
    737
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    60
    #3
    If you mean response timeout then:
    Response.Expires = (minutes)
    or for Session:
    Session.Timeout = (minutes)
     
    camjohnson95, Dec 9, 2010 IP
  4. pacman031

    pacman031 Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    refer here
    forums.asp.net/t/1283350.aspx
     
    pacman031, Dec 11, 2010 IP
  5. surenv2003

    surenv2003 Active Member

    Messages:
    135
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #5
    Can be configure in Web.Config

    or

    send an aspx request to renew session every 10 minutes with
    javascript code. So if user has browser open the session will never time
    out
     
    Last edited: Dec 12, 2010
    surenv2003, Dec 12, 2010 IP