G
Gerry
Hi,
I have an asp.net web app. I have an old version that I no longer have the
source for. I need to replace a function in it to fix a bad bug. I am
working from the latest code where I have the fix.
I compile and dissassemble with ildasm and copy the il for the fixed code
(The class code for a page. Nothing has changed between the two versions in
this class, except for this internal bug fix.)
I dissassemble the original dll and replace the class code in the Il with
the fixed version. This is reassembled witk ilasm.
Everything runs, except I have no session state in areas of the app that
were not touched. If I simply ildasm and ilasm the original dll without
modifying it, there are no problems. If I replace a class in the original
Il, I loses session state all over the app. The difference between the old
and fixed class is like 2 lines of code that have no impact outside of the
method they are in.
Anyone seen this problem or know why this is happening?
Help appreciated.
Thanks,
Gerry
I have an asp.net web app. I have an old version that I no longer have the
source for. I need to replace a function in it to fix a bad bug. I am
working from the latest code where I have the fix.
I compile and dissassemble with ildasm and copy the il for the fixed code
(The class code for a page. Nothing has changed between the two versions in
this class, except for this internal bug fix.)
I dissassemble the original dll and replace the class code in the Il with
the fixed version. This is reassembled witk ilasm.
Everything runs, except I have no session state in areas of the app that
were not touched. If I simply ildasm and ilasm the original dll without
modifying it, there are no problems. If I replace a class in the original
Il, I loses session state all over the app. The difference between the old
and fixed class is like 2 lines of code that have no impact outside of the
method they are in.
Anyone seen this problem or know why this is happening?
Help appreciated.
Thanks,
Gerry