R
Raterus
Hi,
I've got a crazy idea, but I think I can get it to work, I just need some help.
I want to maintain a datarow across browser sessions. I have a screen where a user will submit some information, but before that data is updated in the database, it needs to be "approved".
I want to know what exactly viewstate is doing to turn that datarow into an encoded string of junk, and then what it does on the return trip to turn it back into the original object.
I want to do just that, just not use the viewstate, but my own routines. I have the idea that if I can encode the information they submit to a string of junk, I can then send an email to the approval people with the information they submitted, and a hyperlink to a webpage with this string of junk in the querystring. If they click it, it is an approval, I have all the information I need in this datarow to update the database. This information is just name/address/telephone, so it shouldn't fill up the querystring limit.
Basically I'm trying to avoid the use of a temporary table to store this information until someone can approve it. Yeah yeah, I know that is the easiest way, but this way is more elegant.
Any ideas?
--Michael
I've got a crazy idea, but I think I can get it to work, I just need some help.
I want to maintain a datarow across browser sessions. I have a screen where a user will submit some information, but before that data is updated in the database, it needs to be "approved".
I want to know what exactly viewstate is doing to turn that datarow into an encoded string of junk, and then what it does on the return trip to turn it back into the original object.
I want to do just that, just not use the viewstate, but my own routines. I have the idea that if I can encode the information they submit to a string of junk, I can then send an email to the approval people with the information they submitted, and a hyperlink to a webpage with this string of junk in the querystring. If they click it, it is an approval, I have all the information I need in this datarow to update the database. This information is just name/address/telephone, so it shouldn't fill up the querystring limit.
Basically I'm trying to avoid the use of a temporary table to store this information until someone can approve it. Yeah yeah, I know that is the easiest way, but this way is more elegant.
Any ideas?
--Michael