track - Can we check if a session value is changed in asp.net ? Is there a property like dirty flag to set? -
i have session["variable"] set value1 onload.
now depending on user action on application , may set session["variable"] = value2.
after change session value , there property check if session["variable"] changed ?
in short:
onload session["variable"] = value1;
someuseraction session["variable"] = value2;
onsubmit check if(session["variable"] has changed value1)?
is there property session track change?
there session_id
that's kept server. way *really* check if user same user take session_id other verifiable information , hash them salt know. pass forward variable. if hash on next page fails session hijacked or altered.
string matchhash = formsauthentication.hashpasswordforstoringinconfigfile(session&salt, "sha1");
if super high security project, you'll want @ post since possible, not crack hash , ssl exchanges using array of playstations.
Comments
Post a Comment