Solved

FileUpload control causes Webpage has expired

Posted on 2010-09-22
5
1,163 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 AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
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…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

803 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