trouble with viewstate

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,
I had a really weird problem that occured on one of our site. (occur 2 times
in 3 years)

The client 1 have fill the form1 and submit it, for some reason the page was
postback to the client 1 but the informations that was on the form after the
postback was not the informations of the client 1 but the informations of
another client (on another computer) that had filled this form 5 minutes
before.

we never save this information in any variables, enableviewstate have been
set to true to save the data on postback

here are some other informations:
Asp.net version 1.1
code vb.net
Framework 1.1, no servcie pack install
server = windows 2000 sp4
the page is ssl (https)
EnableViewStateMac is set to true on the web.config
 
i'd suggest looking elsewhere for the cause. Probably the server is pulling
the wrong data based on id. It's unlikely for that type of thing to happen
due to viewstate confusion based on the way viewstate works.

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
 
You're right Alvin..
The prbleme was in the outputcaching... not a probleme with viewstate

Thanks

"Alvin Bruney - ASP.NET MVP" a écrit :
i'd suggest looking elsewhere for the cause. Probably the server is pulling
the wrong data based on id. It's unlikely for that type of thing to happen
due to viewstate confusion based on the way viewstate works.

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------



sdrouins said:
Hello,
I had a really weird problem that occured on one of our site. (occur 2 times
in 3 years)

The client 1 have fill the form1 and submit it, for some reason the page was
postback to the client 1 but the informations that was on the form after the
postback was not the informations of the client 1 but the informations of
another client (on another computer) that had filled this form 5 minutes
before.

we never save this information in any variables, enableviewstate have been
set to true to save the data on postback

here are some other informations:
Asp.net version 1.1
code vb.net
Framework 1.1, no servcie pack install
server = windows 2000 sp4
the page is ssl (https)
EnableViewStateMac is set to true on the web.config
 

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

Back
Top