ASP and Back Button problem.

G

GW

Hello,

I am wondering if someone from the group can help, this is an annoying
problem.

1: PAGEA has FORM1 with FIELD1, FIELD2 and FIELD3.
2: PAGEA POSTS FORM CONTENTS TO PAGEB
3: PAGEB has
<%
session("FIELD1")=Request.Form("FIELD1")
session("FIELD2")=Request.Form("FIELD2")
session("FIELD3")=Request.Form("FIELD3")
%>
4: PAGEB has a link to PAGEC.

Now when the user visits PAGEC, and THEN clicks the browser BACK button, the
session which was earlier stored is lost. This is completely annoying.

I have thought about using JavaScript to store the session values, for
example:
<input type="text" name="FIELD1"
onBlur='<Session("FIELD1"%>=document.form1.field.value'>
(May not work as not tried yet)

IS there another way around this problem?

Thanks,

Gary.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top