J
jyanmin.fang
Hi all,
I have a asp.net project that was built under visual studio 2003. The
project can be built successfully, but it has this weird behavior that
made me speechless. Here is what happened.
scenario 1: start visual studio, rebuilt the project, Now test the
website using ie, the testing is good so far, next test the website
under visual studio (don't rebuilt the project!), the testing is good
too. No problem.
scenario 2: start visual studio, rebuilt the project again, Now test
the website under visual studio first, the testing always fails. Now
without rebuilt the project, testing it using ie, the testing fails
too.
As you can see, the only difference between these 2 cases is the order
of testing the website. scenario 1 starts with ie, while scenario 2
starts with visual studio. Does this make any sense at all?
By the way, after put break points all over the place, I was able to
nail down where it went wrong. What happened in scenario 2 was that,
for some unknown reason, Session_End got called every time at the end
of the page request, but why?
Anyone experienced this? Thanks
Best Regards
Jimmy
I have a asp.net project that was built under visual studio 2003. The
project can be built successfully, but it has this weird behavior that
made me speechless. Here is what happened.
scenario 1: start visual studio, rebuilt the project, Now test the
website using ie, the testing is good so far, next test the website
under visual studio (don't rebuilt the project!), the testing is good
too. No problem.
scenario 2: start visual studio, rebuilt the project again, Now test
the website under visual studio first, the testing always fails. Now
without rebuilt the project, testing it using ie, the testing fails
too.
As you can see, the only difference between these 2 cases is the order
of testing the website. scenario 1 starts with ie, while scenario 2
starts with visual studio. Does this make any sense at all?
By the way, after put break points all over the place, I was able to
nail down where it went wrong. What happened in scenario 2 was that,
for some unknown reason, Session_End got called every time at the end
of the page request, but why?
Anyone experienced this? Thanks
Best Regards
Jimmy