Click here to Skip to main content
15,879,239 members
Articles / Web Development / ASP.NET

ViewState and Server.Transfer Best practices

Rate me:
Please Sign up or sign in to vote.
4.90/5 (7 votes)
20 Apr 2010CPOL 25.5K   6  
ViewState and Server.Transfer Best practicesScenario : Server.Transfer("destiny.aspx",true); Above statement will cause ViewState is invalid exceptionReason :By default EnableViewStateMac is set to true, and hence on every page life cycle , it tries to validate the value of the...

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect MindTree Ltd
India India
Motivated achiever who guides organizations in applying technology to business settings, provides added value, and creates project deliverables in a timely manner. An experienced Technical Consultant, have successfully led large project teams of more than 20 people from requirements gathering to implementation and support using C#, .NET ,ADO.NET, ADO.NET Entity Framework,ASP.NET,ASP.NET MVC, WCF and SQL Server.

Comments and Discussions