?
Solved

FileUpload control causes Webpage has expired

Posted on 2010-09-22
5
Medium Priority
?
1,176 Views
Last Modified: 2012-08-13
I have a page that has a fileupload control on it. The page also has a linkbutton that when clicked redirects to another page. The problem that I am having is that when the user is redirected to that page, if he clicks on the browser's (IE 8) 'Back' button an error page comes up saying "Webpage has expired". If the user clicks on the 'Back' button 3 or 4 times, he will eventually be returned to the file upload page.

How do I get the application to immediately go directly back to the file upload page when the 'Back' button is pressed instead of the user having to see a page saying "Webpage has expired"?
0
Comment
Question by:mj168
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 65

Expert Comment

by:rockiroads
ID: 33740629
Isn't that message normally displayed on any website when backing out to a page that was created as a result of a form post?
I thought this standard behavior.
What if you created a "Back" hyperlink which would go back to your page properly using Response.redirect or something


0
 
LVL 65

Expert Comment

by:rockiroads
ID: 33740632
next time u get webpage has expired, hit F5 to refresh the page. it should then repost.
0
 
LVL 14

Expert Comment

by:robasta
ID: 33741785
0
 

Accepted Solution

by:
mj168 earned 0 total points
ID: 33900497
I've worked around this problem.
0
 
LVL 65

Expert Comment

by:rockiroads
ID: 33900559
by doing what?

you said I found a work around using a link.

can you expand more on it please?
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses

777 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