Hi,
What do you mean by doing this in an assembly?
You could prevent virus scanning from checking those folders, it should be
done for preventing app restarts. You can prevent losing sessions by
switching sessions to use state server mode (when app restarts won't matter
to sessions, however if restart happens often it causes unneeded
reloading/unloading of assemblies)
Check these out:
http://support.microsoft.com/kb/316148/EN-US/ http://support.microsoft.com/default...b;en-us;312592
--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
"Marty U." <Ma****@discussions.microsoft.com> wrote in message
news:31**********************************@microsof t.com...
Virus Scanning is causing our Sessions to drop and the application to
restart. So my only solution is to utilize ViewState for about 3 small
strings on each page in C#. However, I am not using VS and need to do this
in
an assembly.
I have created a class and inherited the page class but how do I add to
the
current page's viewstate from this assembly? The assembly compiles by just
using ViewState["somevalue"] = thevalue; but the page does not have
anything
set for these viewstate variables.
Thanks