Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: session timeout

  1. #1
    Senior Coder
    Join Date
    May 2004
    Posts
    1,466
    Thanks
    15
    Thanked 0 Times in 0 Posts

    session timeout

    i'm using

    <%server.ScriptTimeout=60000
    session.timeout=120%>


    but the session seems to be timing out between 5-10 minutes

    what else can i do?
    it's a hosted server so I can't change iis?

  • #2
    Regular Coder
    Join Date
    Mar 2007
    Posts
    505
    Thanks
    1
    Thanked 19 Times in 19 Posts
    Session.Timeout[=nMinutes]

    You are using the correct code to do the timeout...

    Have you done:

    Code:
    Session.Timeout = 120
    '
    response.write Session.Timeout
    response.flush
    to ensure that the timeout is being accepted?

    If it's on a hosted server, then there may be something more sinister going on...
    To say my fate is not tied to your fate is like saying, 'Your end of the boat is sinking.' -- Hugh Downs
    Please, if you found my post helpful, pay it forward. Go and help someone else today.


  •  

    Posting Permissions

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