Difference between Response.Expires & Session.Timeout

Discussion in 'ASP General' started by prakash, Oct 8, 2004.

  1. prakash

    prakash Guest

    Hi All
    Can anyone explain the difference between Response.Expires & Session.Timeout

    Regards
    Prakash
     
    prakash, Oct 8, 2004
    #1
    1. Advertising

  2. prakash

    Roland Hall Guest

    "prakash" <> wrote in message
    news:...
    : Hi All
    : Can anyone explain the difference between Response.Expires &
    Session.Timeout

    Response.Expires is the time in minutes before the page expires. This deals
    with cache.
    Session.Timeout is the time in minutes the session can be idle before the
    server times out automatically. The default is 20 minutes.

    HTH...

    --
    Roland Hall
    /* This information is distributed in the hope that it will be useful, but
    without any warranty; without even the implied warranty of merchantability
    or fitness for a particular purpose. */
    Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
    WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
    MSDN Library - http://msdn.microsoft.com/library/default.asp
     
    Roland Hall, Oct 8, 2004
    #2
    1. Advertising

  3. prakash

    Ken Schaefer Guest

    Response.Expires sets the HTTP Expires header. This is set to a date and
    time. The client browser uses this to determine when a page stored in the
    client cache has expired, and should be retrieved afresh from the server.

    Session.Timeout refers to how long (in minutes) an ASP session should be
    "kept alive" by the server in the face of no new incoming requests from the
    client.

    Cheers
    Ken


    "prakash" <> wrote in message
    news:...
    > Hi All
    > Can anyone explain the difference between Response.Expires &
    > Session.Timeout
    >
    > Regards
    > Prakash
     
    Ken Schaefer, Oct 8, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Promenade

    Response.Expires and Response.Cache

    Promenade, Dec 5, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    30,760
    Promenade
    Dec 5, 2003
  2. Replies:
    3
    Views:
    1,670
    shailpatel83
    Apr 15, 2010
  3. Ronald S. Cook
    Replies:
    1
    Views:
    714
    Mark Rae
    Jun 28, 2007
  4. Replies:
    7
    Views:
    946
    Arne Vajhøj
    Apr 24, 2009
  5. Jazzis
    Replies:
    2
    Views:
    253
    Jazzis
    Sep 23, 2003
Loading...

Share This Page