To keep things simple, we have some aspx pages ...
Page1 ASPX - Resets the session information.
Page2.aspx - sets the search form and session variable with the result.
Page3.aspx, Page4.aspx, Page5 .aspx - Need for session variable set to Page2.aspx
What do we know is that page 2 As the installation of espacks load and session variables, page 1.aspx is being called a session and being reset. However, Page1.aspx appears in the browser, not the page 2.aspx. We were only able to find this phenomenon because we stepped through the code and put break points in Page_Load events for Page1.aspx and Page2.aspx and page 2.aspx to page 1. Server.
Perhaps useful information ... we use a master page and page 1 in the master page. There are links to Espacks. Also, I get the code base in page 1. No reference to espacks can be found.
Update:
Could it be due to authentication? It appears that when I use Page2.aspx, then the server is likely to authenticate again on Page1.aspx? Is this typical?
Thank you for the tip.
We were going to find out ... in the application page 1. Espx is actually Default.aspx. On page2.aspx, another developer has put an IMG tag on the page in which the source property was not defined, so when Page2.aspx was executed, it was looking for an image located at the root level of the web site, then it The code triggered on Default.aspx (Page1) and erases the session.
Overall, look at something like this ...
On page 2. Espacks
& lt; Img src = "" & gt; & Lt ;! - This ended a call triggered on the default .aspx, wiping the session - & gt;
Hope it helps someone else.
Comments
Post a Comment