Are the HttpContext.Current.Items
lost when a Server.Transfer();
occurs?
If so wha开发者_StackOverflowt is the best way for me to send information to another page without going through the Session?
Yes, the context would still be valid. It would become invalid or break if you use Response.Redirect().
See article The HttpContext Items Collection
You can access Page.PreviousPage property with all data on it when using Server.Transfer(). And also yes, context would be valid.
精彩评论