473,396 Members | 1,968 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,396 software developers and data experts.

trouble with viewstate

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


Feb 14 '06 #1
2 1195
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" <sd******@discussions.microsoft.com> wrote in message
news:1B**********************************@microsof t.com...
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

Feb 15 '06 #2
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" <sd******@discussions.microsoft.com> wrote in message
news:1B**********************************@microsof t.com...
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


Feb 15 '06 #3

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

Similar topics

9
by: John Kirksey | last post by:
I have a page that uses an in-place editable DataGrid that supports sorting and paging. EnableViewState is turned ON. At the top of the page are several search fields that allow the user to filter...
6
by: Hypo | last post by:
Im relatilvly new to a web programming in general, and here's the situation i have: I have a default page with dynamic content, and one button with onclick code something like this: { // do...
3
by: Steve Drake | last post by:
All, I have a CONTROL that contains 1 control (Control ONE), the 1 control that it can contain 1 or 2 control (Control A and B). Control A, raises and event and Control ONE receives this event...
1
by: D. Shane Fowlkes | last post by:
I have a form in which clicking the submit button calls a "SaveData" sub rountine I wrote. The SaveData rountine inserts data from the form into a table and grabs the ID of the newly inserted...
6
by: hitendra15 | last post by:
Hi I have created web user control which has Repeater control and Linkbutton in ItemTemplate of repeater control, following is the code for this control On first load it runs fine but when...
0
by: JP2006 | last post by:
I'm having a major pain with retrieving ViewState info after a postback event. I am trying to persist a string contained in a label (label_AntiBot.Text) that is generated randomly on page load but...
5
by: Amoril | last post by:
I've read quite a few different message on various boards and for some reason I'm still having trouble wrapping my head around this viewstate maintenance and trying to get these dynamically created...
12
by: Nick C | last post by:
Hi How can i reduce the viewstate for my asp.net application. It is getting very large now. What is a good solution? thanks N
4
by: fgl82 | last post by:
Hi! I'm having some troubleswith a custom web control. When I use the web control "normally", that is, I throw it into the web page at design time, its viewstate is maintained along postbacks....
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
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.