I have an ASP.NET 2.0 application with 2 main pages. Each page has
similar code that loads the session with information about which page
they user has loaded. This code is in the page_load on each of the
pages. I put a breakpoint on the first line of the page_load of each
page. When I load the first page everything is fine. However, when I
type the URL of the second page, the breakpoint doesn't get hit. When
I refresh the page the breakpoint gets hit and the session information
gets updated.
I would really appreciate any help you can give me. Thank you,
--Larry--
I have posted a sample of the code below:
public partial class Page1 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Session.Remove("current_page");// I put the breakpoint here
int iPage = LUList.GetIntOfListValue("institute", "Page1");
Session.Add("current_page", iPage);
_
_
_
}
....