Response.Redirect can cause Validation of viewstate MAC failed error on pocket PC

J

Jeremy Chapman

Riddle me this batman:

An application has two aspx pages. Each has a button on it that does a
response.redirect to the other page. I'm viewing the web app in a ocket pc
running windows mobile 2003 2nd edition. If I use the back button, more
often than not I will get an HttpException saying that the validation of
viewstate MAC failed. If I change the code to do a server.transfer I will
never get this problem. Is this a bug in PIE? I did a little tracing by
using a tcp trace utility to examine what data gets posted on the back
button, and it appears that the wrong page is posted, which means the
viewstate wouldn't be valid. Is there something that can be done to get
response.redirect to work without having to change to server.transfer?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top