Solved

FileUpload control causes Webpage has expired

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

821 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