Patrice
Whenever I execute from Visual Studio it rebuilds the application (updating the DLL) and runs. Now when I process with certain data I lose my session variables. The same thing happens if I access the web page from another PC. It works fine until I build a report using a different start date. After that the session variables are lost.
Michael
----- Patrice Scribe wrote: -----
Do you mean this is when perform a build ? It updates the DLL in your /bin
folder which is likely to restart the application.
Do you have the same behavior when you just test your application using
simply the browser ?
--
Michael SL said:
breakpoints I click on the breakpoints filled circle indicator and it turn
into the empty circle (meaning that the breakpoint is temporarily disabled
for this execution). Now, the code continually passes over the disabled
breakpoint until I set TheStartDate to some particular values and perform a
Build. The next time the code hits the breakpoint it stops. This indicates
that Visual Studio did do a reset. But why I have no idea. As stated
before, it is not time. I do not see anything it the code which would cause
it. I just don't get it.any trouble. But now in a very specific case I am losing them. On one of
my pages I set a date in a dropdownlist (autopostback=false) and then click
a "Build" button which builds a report. Most of the time there is no
problem. But sometimes the following happens. I step through the code no
problem, the session variables do not change. But, when examined after the
the next mouse click, the session variables are GONE! It has nothing to do
with time or antivirus protection. Any ideas?