Solved

FileUpload control causes Webpage has expired

Posted on 2010-09-22
5
1,153 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
  • 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
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…

708 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

15 Experts available now in Live!

Get 1:1 Help Now