Solved

My computer at work always says Page Expired

Posted on 2004-08-04
6
1,080 Views
Last Modified: 2013-12-24
Hi

In my personal laptop, how is it that when i test my Form page and process page/message comes out, when i click the back key the data is still in the form

My computer at work always says Page Expired when i click the BACK icon in IE after i process a form.

I want my computer at work to perform, just like my laptop does.

Thanks
0
Comment
Question by:mdbbound
6 Comments
 
LVL 1

Assisted Solution

by:jay252
jay252 earned 200 total points
ID: 11722497
Are you using the same version of IE on your laptop as well? The warning when you hit the back button in IE can be caused by a page posting to itself. This is a security feature of the IE browser to prevent forms from reposting by accident. You can change the method of the form to get rather than post as a workaround depending on the amount and type of data your form is posting. You could also have your form post to a seperate page then redirect to a seperate page using the <cflocation> tag.
0
 
LVL 1

Assisted Solution

by:jay252
jay252 earned 200 total points
ID: 11722551
Take a look at http://www.benorama.com/coldfusion/patterns/part2.htm

This discribes how to organize your pages which should solve the problem with your form.
0
 
LVL 21

Assisted Solution

by:pinaldave
pinaldave earned 150 total points
ID: 11723000
Hi mdbbound,

I will suggest that you do not rely on this behaviour of IE. This is not reliable. I will suggest instead of click the back button create a back button in ColdFusion.
whenever you click on back button or back link, it should load your page again with the data you have previously inserted either from database or from the form variable. Also one of the previous q, you have asked how to preserve the code in this case so I am not repeating that answer.
Well, let us know if you need to know anything more. ColdFusion is what I do all the time.

Regards,
---Pinal
0
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 17

Accepted Solution

by:
anandkp earned 150 total points
ID: 11723246
Ur right >> always says Page Expired when i click the BACK icon in IE after i process a form.
but thats when the form is processed & ur trying to reach that page [as mentioned by jav252 - if u have a intermediate page doing the processing - the back button wldnt be doing what its doing for u now]

if the previous page was a result of a post action - then u wld get the page expired warning.
but if u have directly gone to that page via a url & then if u use the back button - the form wld definately show the data u filled in [except for certain fields of type password]
In case u think u dont want this to happen as well - i suggest u DONT have this page cached - so everytime its a new copy from the server & it wld be blank. [thou i dont see whats the problem if the form does show the data u just filled - its suppose to do that - so u dont have to type all over again]

K'Rgds
Anand
0
 

Author Comment

by:mdbbound
ID: 11723596
Thanks all

It's always good to know the reasons on why systems behave the way they do.

I will split the points.
0
 
LVL 21

Expert Comment

by:pinaldave
ID: 11723772
Hello Mdbbound,
It is always fun to participate and share knowledge.
Regards,
---Pinal
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now