03-20-07 12:26 PM
"c676228" <bettys@community.nospam> wrote in message
news:35B705D9-961C-4B8D-BB33-EF62780D503D@microsoft.com...
> Hi all,
> Recently, I just found out that our program behaves differently from
before.
>
> in our asp, in order to prevent data disppearing problem in form fields,we
> use session variable to display the field values if a customer click
"back"
> button on the page2.asp in the browser,(the session variables
> Session(aQuoteName(iPerson)&"TripCost") is set up in the page2.asp) i.e.
> then in the page1.asp, we use:
> <input name="<%=aQuoteName(iPerson)& "TripCost" %>" type="text" size="6"
> value="<%=Session(aQuoteName(iPerson)&"TripCost")%>">
> to display the tripcost. This works very well in the past all the time.
But
> today, when I do the similar programming, whenever I click "back" button
on
> page2.asp, the data on the page1.asp all disappeared and I have to click
> "refresh" button on page1.asp in order to display all the session
variables.
> What's going on, does this have to have something to do with window
security
> patches, I didn't have anything changed in the program or IIS
configuration.
> I also test the production version, same thing happened which it never
> happend before???
> Can you shed a light on me?
Are you sure it was working before? The browser is not obliged to re-fetch
the previous page from the origin server when you hit the back button. In
fact in my experience it rarely does.
[ Post a follow-up to this message ]
|