Solved

FileUpload control causes Webpage has expired

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

895 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

14 Experts available now in Live!

Get 1:1 Help Now