ASP.NET server data persistence
Posted
by Wayne Werner
on Stack Overflow
See other posts from Stack Overflow
or by Wayne Werner
Published on 2010-05-28T14:48:32Z
Indexed on
2010/05/28
14:52 UTC
Read the original article
Hit count: 228
Hi,
I'm not really sure exactly how the question should be phrased, so please be patient if I ask the wrong thing.
I'm writing an ASP.NET application using VB as the code behind language. I have a data access class that connects to the DB to run the query (parameterized, of course), and another class to perform the validation tasks - I access this class from my aspx page.
What I would like is to be able to store the data server side and wait for the user to choose from a few options based on the validity of the data. But unless my understanding is completely off, having persistent data objects on the server will give problems when multiple users connect?
My ultimate goal is that once the data has been validated the end user can't modify it. Currently I'm validating the data, but I still have to retrieve it from the web form AFTER the user says OK, which obviously leaves open the possibility of injecting bad data either accidentally (unlikely) or on purpose (also unlikely for the use, but I'd prefer not to take the chance).
So am I completely off in my understanding? If so, can someone point me to a resource that provides some instructions on keeping persistent data on the server, or provide instruction?
Thanks!
© Stack Overflow or respective owner