Ask a Question related to ASP, Design and Development.

  1. #1

    Default Session.timeout

    I have a session object Session("login") whereas I need to extend the
    time on this to 1 hour, instead of the default 20 minutes.
    After initializing Session("login"), how would I change the timeout
    value?

    ???
    Muench



    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    J. Muenchbourg Guest

  2. Similar Questions and Discussions

    1. how to specify session timeout
      Hi I am setting objects in the session using following tycnique. <mx:RemoteObject id="loginidObj" source="servlet" showBusyCursor="true"...
    2. Session Timeout
      Hi, You can control when the session end by using the Session_onEnd event in global.asax. But when the session expired the user won’t make any...
    3. PHP session timeout
      I've modify the php.ini the session.gc_maxlifetime to reduce the time of timeout of the session variabiles. But it not seems to go. In fact the...
    4. IIS Session timeout
      Is there a way to notify a client browser that their IIS Session is about to OR has just expired?
    5. How to set session timeout
      Setting session timeout in web.config file does not seem to have any effect. Any explanation or suggestion will be appreciated.
  3. #2

    Default Re: Session.timeout

    J. Muenchbourg wrote on 15 aug 2003 in
    microsoft.public.inetserver.asp.general:
    > I have a session object Session("login") whereas I need to extend the
    > time on this to 1 hour, instead of the default 20 minutes.
    > After initializing Session("login"), how would I change the timeout
    > value?
    >
    All session variables last as long as the session exists.

    So just do

    <%
    Session("login")="sure"
    Session.Timeout=60
    %>

    <http://www.w3schools.com/asp/prop_timeout.asp>

    --
    Evertjan.
    The Netherlands.
    (Please change the x'es to dots in my emailaddress)
    Evertjan. Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139