Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2007
    Posts
    7

    Unanswered: Login - Timed out, asp, ms acsess, vbScript

    i want to make a login session for 20 minutes

    if i wrote the following code, then it is giving the dafault value is 20

    Code:
    <% 
    response.write("<p>")
    response.write("Default Timeout is: " & Session.Timeout)
    %>
    But my system is asking for login in an average after 2 or 3 minutes.

    so, what should i do?

    Please help me.

  2. #2
    Join Date
    Jan 2007
    Location
    UK
    Posts
    11,434
    Provided Answers: 10

  3. #3
    Join Date
    Nov 2007
    Posts
    7
    Quote Originally Posted by georgev
    i have gone through as per your suggestion, but there is no solution

  4. #4
    Join Date
    Jul 2003
    Location
    Amsterdam, Nederland
    Posts
    450

    Don´t ask the timeout set it

    Quote Originally Posted by Dilruba
    i want to make a login session for 20 minutes

    if i wrote the following code, then it is giving the dafault value is 20

    Code:
    <% 
    response.write("<p>")
    response.write("Default Timeout is: " & Session.Timeout)
    %>
    But my system is asking for login in an average after 2 or 3 minutes.

    so, what should i do?

    Please help me.
    if you wrote above code your asking the timeout
    with : Session.Timeout=30 you will set it
    so write

    <%
    response.write("<p>")
    response.write("Default Timeout is: " & Session.Timeout)
    response.write("</p>")

    Session.Timeout=100

    response.write("<p>")
    response.write("Timeout is now: " & Session.Timeout)
    response.write("</p>")
    %>

    if the server is still logging you out, it can be that your App.folder is changing so if you have a log file in your root folder that is logging something, your app will think sombody has changed a .asp file or so and will reload your site thus logged you out.

Posting Permissions

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