How to setup Page Expire

Results 1 to 5 of 5

Thread: How to setup Page Expire

  1. #1
    Join Date
    Dec 1969
    Posts
    73

    Default How to setup Page Expire

    I want to expire the pervious page user came from because otherwise if they click on back and submit again will cause duplication fo data. <BR><BR>Any idea how to do this ? <BR><BR>Thanks <BR>

  2. #2
    Join Date
    Dec 1969
    Posts
    52

    Default RE: How to setup Page Expire

    response.expires = 0

  3. #3
    Join Date
    Dec 1969
    Posts
    119

    Default RE: How to setup Page Expire

    If you are working on IE5, nothing is going to work, take my word for this.<BR>Arvind

  4. #4
    Farahn Guest

    Default RE: How to setup Page Expire

    How about if i setup the page using "Information Manager" in ISS 4.0 ? It has something like "Exire Imeediately" kind of stuff ?<BR><BR>Farhan


  5. #5
    Join Date
    Dec 1969
    Posts
    989

    Default RE: How to setup Page Expire

    This may or may not answer your expired page problem but it<BR>forces a page to be reloaded. (according to Microsoft)<BR><BR>http://support.microsoft.com/support/kb/articles/q196/3/29.asp<BR><BR>Excerpt from above article:<BR><BR>Prevent the page from being stored in the cache (this forces the page to be reloaded). To do so, add a JScript OnUnload handler that does not do anything. For example, add the following OnUnload handler:<BR><BR>&#060;BODY onUnload="nothing()"> <BR><BR>where nothing is:<BR><BR>function nothing() {} <BR>

Posting Permissions

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