473,386 Members | 1,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

The Querystring appears to be repeated twice.

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/L...YWxzZVRpbWU6ID
2OjAyOjUwLjAxMjQzNzc7Pj47Oz47Pj47Pj47Pu%2BxizxVhIW gw4i0JUECemLiNzSQ&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.LoadPageStateFromPersistenceMed ium()

[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+Oz47bDx0PDtsPGk8MT47Pj tsPHQ8cDxsPFRleHQ7PjtsPEZhbHNlLDIwLDE2OjM4OjM3Ljgy NTYxNTU7Pj47Oz47Pj47Pj47Ptg/vx3WUAYQ92SutwZwmROLrEug
Http-Referer: http://localhost/SubmitApp/WebForm1....Button1=Button
Path: /SubmitApp/Login.aspx.]
System.Web.UI.Page.LoadPageStateFromPersistenceMed ium()
System.Web.UI.Page.LoadPageViewState()
System.Web.UI.Page.ProcessRequestMain()
Nov 19 '05 #1
0 1038

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Robb Meade | last post by:
Hi all, A recent project that I had finished and went live with no apparant problems. My client received an email from a user who mentioned that by accident they had been typing (over the...
1
by: boohoo | last post by:
I can't seem to do this: I want to take a query string and place two halves of the querystring into two separate dictionary objects. So... I loop through the collection of querystring items,...
2
by: Fredrik Rodin | last post by:
Hi! I need to be able to change, add or remove items in the QueryString. Let say I have the following scenario: Page_1.aspx display a dropdown list. This list is post-back enabled. It can...
4
by: Raterus | last post by:
Howdy, Simple question, but I can't figure out how to do it. I have a a page which is called initially with a querystring. After I get the querystring values, I don't need the querystring to...
1
by: summer00 | last post by:
Hi , Anyone know how to retrieve the value of the session ID from the mobile web querystring ? For example: http://localhost/(c2jsffj5kzl03045wtjq0iz3)/index.aspx How can i retrieve the...
3
by: hecsan07 | last post by:
I am a newbie in .NET. I am trying to collect the query string and paste it to the new url. The problem is I am not sure with the particular names of the query string elements are. How can I...
8
by: Badass Scotsman | last post by:
Hello, I have a dynamically generated site, with a URL format like so: www.site.com/index.aspx?Content=Horses www.site.com/index.aspx?Content=Parrots And so on... What i would like to do,...
6
by: duncan.welch | last post by:
Hi, I've got a website that uses links for page positioning which works great about 99% of the time. For some reason, 1% of the time I'll get an error when parsing the querystring, as it's...
2
by: zman77 | last post by:
I have a problem with HttpRequest.QueryString. There is an XML string that contains something like the following: <age>8+</age> As you probably guessed, the "+" is the problem :) I want to get...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.