It depends on how the "sending to another page" is done. If you perform a Response.Redirect, you effectively lose everything from the initial request. You should use Server.Transfer for this purpose. You can pass additional information from Page1 to Page2 by using the HttpContext.Current.Items, for example, if prior to "sending" to Page2, Page1 performs some processing and loads some information for Page2 to use. The information in HttpContext.Items is called "transient state" as it only lives during the processing of the single current request.
Dig Deeper on Win Development Resources
Related Q&A from Daniel Cazzulino
Here Daniel Cazzulino explains how to load a DSL (domain specific language) domain model instance file programmatically. This requires the .NET type ... Continue Reading
Here we offer a glimpse at 12 of .NET development expert Danny Cazzulino's top ASP.NET questions and answers. Continue Reading
C# developers should NOT be modifying InitializeComponent method in the code-behind (or any of the variable definitions) by hand. Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.