simple viewstate question
-
Protected Overrides Function LoadPageStateFromPersistenceMedium() As Object Return Session("ViewState") End Function Protected Overrides Sub SavePageStateToPersistenceMedium(ByVal viewState As Object) Session("ViewState") = viewState RegisterHiddenField("__VIEWSTATE", "") End Sub ---------- By using the code upperside , is my viewstate data encoding, if not do i risk my data while sending? And one more question : is this the fastest way to send huge data?some of customers are crying that they are waiting for minutes to see the data pages ;P --junior coder--
-
Protected Overrides Function LoadPageStateFromPersistenceMedium() As Object Return Session("ViewState") End Function Protected Overrides Sub SavePageStateToPersistenceMedium(ByVal viewState As Object) Session("ViewState") = viewState RegisterHiddenField("__VIEWSTATE", "") End Sub ---------- By using the code upperside , is my viewstate data encoding, if not do i risk my data while sending? And one more question : is this the fastest way to send huge data?some of customers are crying that they are waiting for minutes to see the data pages ;P --junior coder--
First i do not think i fully understand your scenario here besides persiting of data. What exactly is your objective .. perhaps there will be a better suggestion to your problem if this is clear. This most definately the fastest way of elivering data.. as your customers indicate zimcoder
-
First i do not think i fully understand your scenario here besides persiting of data. What exactly is your objective .. perhaps there will be a better suggestion to your problem if this is clear. This most definately the fastest way of elivering data.. as your customers indicate zimcoder
I am using this code in my own "viewstate class". in my web page , i am sending too much data by datagrid. It takes too much bandwith and dialup modem users have to wait to see the page. So i want to use viewstate with best performance and my data must be in secure ( hashed or etc.) i tried Losformatter to write data to a file at server but it is slow. Then i want to keep my viewstate at session.It is better but does this method encodes data while sending? i found this code from a forum (http://www.mcse.ms/message1240052.html[^])but i do not know how to use that? Would someone help me? thanx.. --junior coder--