Hi my company is strictly against using session/application leve variables for maintaining state across pages. Which means that passing off values from pages to other pages (like signup proces) becomes difficult.
I was thinking of creating objects that hold properties (text box values) and serializing that object to a cookie.
But a few questions. Can i do that? it will be a cookie based solution with no hits to a db or session objects.
Also, how much data can a cookie file hold, is it 4KB? If so i heard binary serialization is pretty compact, so that might be enough space to store certain basic objects.
If this can be done, does anyone have an example where i can serialize an object to a cookie using binary serialization? if so, sample code will help.
thanks jay
I was thinking of creating objects that hold properties (text box values) and serializing that object to a cookie.
But a few questions. Can i do that? it will be a cookie based solution with no hits to a db or session objects.
Also, how much data can a cookie file hold, is it 4KB? If so i heard binary serialization is pretty compact, so that might be enough space to store certain basic objects.
If this can be done, does anyone have an example where i can serialize an object to a cookie using binary serialization? if so, sample code will help.
thanks jay