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

Discussion in 'ASP .Net' started by Jeremy Chapman, Nov 16, 2006.

  1. 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?
    Jeremy Chapman, Nov 16, 2006
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Sergej Grickov

    Error: Validation of viewstate MAC failed

    Sergej Grickov, Jan 27, 2006, in forum: ASP .Net
    Replies:
    3
    Views:
    11,670
    Teemu Keiski
    Feb 4, 2006
  2. aaaaaa
    Replies:
    1
    Views:
    436
    Alvin Bruney - ASP.NET MVP
    Mar 23, 2006
  3. sck10
    Replies:
    6
    Views:
    909
    sck10
    Sep 1, 2006
  4. G Zhao
    Replies:
    2
    Views:
    420
    G Zhao
    Sep 3, 2009
  5. Sal
    Replies:
    1
    Views:
    403
Loading...

Share This Page