J
Jerry O
Hi,
I have a forms authenticated application that appears to have a
problem when redirecting users whose session has timed out.
The web form is posted via a ‘get'
When they click a submit button after their session has timed out they
get the error at the end of the post. It appears to be a problem with
the url that has been sent which is as follows:
http://localhost/MapXtreme104/View/...T47PjtsPHQ8cDxsPFRleHQ7PjtsPDFGYWxzZVRpbWU6ID
2OjAyOjUwLjAxMjQzNzc7Pj47Oz47Pj47Pj47Pu%2BxizxVhIWgw4i0JUECemLiNzSQ&Button1=Button
The Querystring appears to be repeated twice.
Any idea why this happens
Thanks
Jerry
Server Error in '/SubmitApp' Application.
Unable to validate data.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: Unable to validate data.
Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.
Stack Trace:
[HttpException (0x80004005): Unable to validate data.]
System.Web.Configuration.MachineKey.GetDecodedData(Byte[] buf,
Byte[] modifier, Int32 start, Int32 length, Int32& dataLength)
System.Web.UI.LosFormatter.Deserialize(String input)
[HttpException (0x80004005): Authentication of viewstate failed. 1)
If this is a cluster, edit <machineKey> configuration so all servers
use the same validationKey and validation algorithm. AutoGenerate
cannot be used in a cluster. 2) Viewstate can only be posted back to
the same page. 3) The viewstate for this page might be corrupted.]
System.Web.UI.LosFormatter.Deserialize(String input)
System.Web.UI.Page.LoadPageStateFromPersistenceMedium()
[HttpException (0x80004005): Invalid_Viewstate
Client IP: 127.0.0.1
Port: 2476
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET
CLR 1.1.4322)
ViewState: dDw3ODI4NDUwNDg7dDw7bDxpPDE+Oz47bDx0PDtsPGk8MT47PjtsPHQ8cDxsPFRleHQ7PjtsPEZhbHNlLDIwLDE2OjM4OjM3LjgyNTYxNTU7Pj47Oz47Pj47Pj47Ptg/vx3WUAYQ92SutwZwmROLrEug
Http-Referer: http://localhost/SubmitApp/WebForm1...47Ps/qx2PT8q0tTyzwlBCy6RgLXIk+&Button1=Button
Path: /SubmitApp/Login.aspx.]
System.Web.UI.Page.LoadPageStateFromPersistenceMedium()
System.Web.UI.Page.LoadPageViewState()
System.Web.UI.Page.ProcessRequestMain()
I have a forms authenticated application that appears to have a
problem when redirecting users whose session has timed out.
The web form is posted via a ‘get'
When they click a submit button after their session has timed out they
get the error at the end of the post. It appears to be a problem with
the url that has been sent which is as follows:
http://localhost/MapXtreme104/View/...T47PjtsPHQ8cDxsPFRleHQ7PjtsPDFGYWxzZVRpbWU6ID
2OjAyOjUwLjAxMjQzNzc7Pj47Oz47Pj47Pj47Pu%2BxizxVhIWgw4i0JUECemLiNzSQ&Button1=Button
The Querystring appears to be repeated twice.
Any idea why this happens
Thanks
Jerry
Server Error in '/SubmitApp' Application.
Unable to validate data.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: Unable to validate data.
Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.
Stack Trace:
[HttpException (0x80004005): Unable to validate data.]
System.Web.Configuration.MachineKey.GetDecodedData(Byte[] buf,
Byte[] modifier, Int32 start, Int32 length, Int32& dataLength)
System.Web.UI.LosFormatter.Deserialize(String input)
[HttpException (0x80004005): Authentication of viewstate failed. 1)
If this is a cluster, edit <machineKey> configuration so all servers
use the same validationKey and validation algorithm. AutoGenerate
cannot be used in a cluster. 2) Viewstate can only be posted back to
the same page. 3) The viewstate for this page might be corrupted.]
System.Web.UI.LosFormatter.Deserialize(String input)
System.Web.UI.Page.LoadPageStateFromPersistenceMedium()
[HttpException (0x80004005): Invalid_Viewstate
Client IP: 127.0.0.1
Port: 2476
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET
CLR 1.1.4322)
ViewState: dDw3ODI4NDUwNDg7dDw7bDxpPDE+Oz47bDx0PDtsPGk8MT47PjtsPHQ8cDxsPFRleHQ7PjtsPEZhbHNlLDIwLDE2OjM4OjM3LjgyNTYxNTU7Pj47Oz47Pj47Pj47Ptg/vx3WUAYQ92SutwZwmROLrEug
Http-Referer: http://localhost/SubmitApp/WebForm1...47Ps/qx2PT8q0tTyzwlBCy6RgLXIk+&Button1=Button
Path: /SubmitApp/Login.aspx.]
System.Web.UI.Page.LoadPageStateFromPersistenceMedium()
System.Web.UI.Page.LoadPageViewState()
System.Web.UI.Page.ProcessRequestMain()