Answer Posted / dev
View State are valid mainly during postbacks and
information is stored in client only. Viewstate are valid
for serializable data only. Moreover Viewstate are not
secured as data is exposed to client. although we can
configure page directive and machine key to make view state
encrypted. Where in case of session this is user specific
data that is stored in server memory . Session state is
valid for any type of objects. We can take help of session
through different web pages also.
| Is This Answer Correct ? | 4 Yes | 12 No |
Post New Answer View All Answers
Describe the disadvantage of cookies.
what is loosely coupled solution? How it can be used?
What is a session in programming?
What a diffgram is, and a good use for one?
Error : The operation couldn’t be performed because ole db provider sqlncli10 for linked server was unable to begin a distributed transaction.00000110 oledb provider for linked server returned message the partner transaction manager has disabled its support for remote/network transactions. I can able to execute the stored procedure in sql server but when i run the web page getting error like above. I did all the configuration. what is the solution?
how to elimainte the similar data from the different tables
1.what is the application pool. 2.what is the HttpModile and Http Handler. 3.C# 3.0 Features ? 4.Anonoymous Type,methopd and claas in 3.0? 5.difference between statsic and const ? 6.session vs application 7.state management clint side and server side ? 8.Genric list 9.c# 3.0 vs 3.5
Is it right that ASP.NET Web API has replaced WCF?
Disable Mouse right click on web page in asp.net?
What is base class of button control in .net?
Is asp.net easy to learn?
Define page fragment caching?
What is viewstate? What does the "enableviewstate” property do? Whay would I want it on or off?
Will the asp.net validators run in server side or client side?
How can we secure the data which is send from client side to server? Like the login id and paasword needs to be authenticated on the server but we cannot send it in plain text into the server.One more thing we are not using the SSL here.