You can try put this code:
<%
Response.Expires = 60
Response.Expiresabsolute = Now() - 1
Response.AddHeader "pragma","no-cache"
Response.AddHeader "cache-control","private"
'Response.CacheControl = "no-cache"
Response.Buffer=true
%>
The complete code with the commented line run well in windows 2000, but in Win NT 4.0 not, this code put it on the begin of your
page.
Bye.
-----Original Message-----
From: "ASPToday Discuss digest"<asptoday_discuss@p...>
To: "asptoday_discuss digest recipients"<asptoday_discuss@p...>
Date: Mon Nov 12 16:00:13 PST 2001
Subject: asptoday_discuss digest: November 12, 2001
>-----------------------------------------------
>When replying to the digest, please quote only
>relevant material, and edit the subject line to
>reflect the message you are replying to.
>-----------------------------------------------
>
>ASPTODAY_DISCUSS Digest for Monday, November 12, 2001.
>
>1. On refresh asp page returns value from database
>2. RE: On refresh asp page returns value from database
>
>----------------------------------------------------------------------
>
>Subject: On refresh asp page returns value from database
>From: "Arun Prasad" <arun@l...>
>Date: Mon, 12 Nov 2001 09:24:11
>X-Message-Number: 1
>
>hi friends,
>
>Can any one suggest me a suitable solution for the below problem.
> In a form field i am able to displaying data dynamically from the
>database. On submiting the form it will insert new values into a table in
>the database. After inserting into the database i want it to be displayed
>in the page but it shows no records is available in the table and when i
>refresh the page it is retriving the records from the database table.
>for any calrification please contact me.
>
>
>regards
>arun
>----------------------------------------------------------------------
>
>Subject: RE: On refresh asp page returns value from database
>From: "vani" <vani@a...>
>Date: Mon, 12 Nov 2001 12:29:48 +0300
>X-Message-Number: 2
>
>Use ors.requery after inserting the data.
>Ors is your recordset.
>
>-----Original Message-----
>From: Arun Prasad [mailto:arun@l...]
>Sent: Monday, November 12, 2001 12:24 PM
>To: ASPToday Discuss
>Subject: [asptoday_discuss] On refresh asp page returns value from
>database
>
>hi friends,
>
>Can any one suggest me a suitable solution for the below problem.
> In a form field i am able to displaying data dynamically from the
>database. On submiting the form it will insert new values into a table
>in
>the database. After inserting into the database i want it to be
>displayed
>in the page but it shows no records is available in the table and when i
>
>refresh the page it is retriving the records from the database table.
>for any calrification please contact me.
>
>
>regards
>arun
>$subst('Email.Unsub')
>
>
>
>---
>
>END OF DIGEST
>
___________________________________________________
GO.com Mail
Get Your Free, Private E-mail at http://mail.go.com