Session timeout question

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Session Timeout Question

    Can I adjust the PHP session timeout on my web site? Users are
    reporting timeout errors when they leave their computer for a period
    of time and then come back to resume using the site - is there some
    kind of global session timeout in PHP that I can set?

    Thanks...

    Ralph Freshour Guest

  2. Similar Questions and Discussions

    1. Question about a long session timeout (somewhat long)
      I've been told by my developers to increase the asp.net session timeout to 72 hours. Being a server guy, it concerns me because of the obvious...
    2. session timeout quick question
      hey... I have a login system that uses the Application framework with a session timeout set for 30 mins. does it time out after 30 minutes the user...
    3. [PHP] Session Timeout
      Hi, Saturday, August 30, 2003, 1:55:02 PM, you wrote: SW> From what I see, the default timeout for a session is 1440 seconds or SW> 24 minutes....
    4. 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...
    5. IIS Session timeout
      Is there a way to notify a client browser that their IIS Session is about to OR has just expired?
  3. #2

    Default Re: Session Timeout Question

    [url]http://us2.php.net/manual/en/ref.session.php[/url]
    [url]http://us2.php.net/manual/en/function.ini-set.php[/url]

    session.cookie_lifetime integer

    session.cookie_lifetime specifies the lifetime of the cookie in seconds
    which is sent to the browser. The value 0 means "until the browser is
    closed." Defaults to 0.See also session_get_cookie_params() and
    session_set_cookie_params().

    session.cache_expire integer
    session.cache_expire specifies time-to-live for cached session pages in
    minutes, this has no effect for nocache limiter. Defaults to 180. See also
    session_cache_expire().





    "Ralph Freshour" <ralph@primemail.com> wrote in message
    news:5thupvojj7hph43non58tgp04ch0g399ol@4ax.com...
    > Can I adjust the PHP session timeout on my web site? Users are
    > reporting timeout errors when they leave their computer for a period
    > of time and then come back to resume using the site - is there some
    > kind of global session timeout in PHP that I can set?
    >
    > Thanks...
    >

    Brian Guest

  4. #3

    Default Session timeout question

    Is it possible to globally set all Sessions to a specific timeout period?

    Session.Timeout [= nMinutes]

    Can I use the global.asa file to do this?

    If so, would I just place the above Session timeout code in the file like the
    following:

    Session.Timeout = 60

    Thanks,
    -D-

    -D- Guest

  5. #4

    Default Re: Session timeout question

    Yes it would be placed in the global.asa file

    --
    Regards

    Paul Whitham
    Macromedia Certified Professional for Dreamweaver MX2004
    Valleybiz Internet Design
    [url]www.valleybiz.net[/url]

    Team Macromedia Volunteer for Ultradev/Dreamweaver MX
    [url]www.macromedia.com/support/forums/team_macromedia[/url]

    "-D-" <webforumsuser@macromedia.com> wrote in message
    news:d4ttk3$78v$1@forums.macromedia.com...
    > Is it possible to globally set all Sessions to a specific timeout period?
    >
    > Session.Timeout [= nMinutes]
    >
    > Can I use the global.asa file to do this?
    >
    > If so, would I just place the above Session timeout code in the file like
    the
    > following:
    >
    > Session.Timeout = 60
    >
    > Thanks,
    > -D-
    >

    Paul Whitham TMM 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