Hi, Paul.
re:
!> I am not sure what the CAS policy is
CAS is the Code Access Security configuration
General info:
http://msdn.microsoft.com/en-us/library/930b76w0.aspx
If you create any custom Code Access Security permissions, per the instructions at:
http://msdn.microsoft.com/en-us/library/yctbsyf4.aspx
....as soon as the custom permissions are implemented, the AppDomain will unload/restart,
causing the loss of session variables, unless you don't use in-process state management,
i.e., unless you use SQL Server or State Server to manage state in your application.
re:
!> also not quite sure what listing i means?
Whenever you change any configurable reason for an Application Pool to recycle,
that will cause an automatic Application Pool recycle, with the same events
described above occurring.
You can configure Application Pools with the IIS Manager.
Open the IIS Manager, scroll down on the left panel to "Application Pools",
right click the desired Application Pool, select "Properties" and configure to your needs.
Be careful and know what you are doing before changing that stuff, though.
You can seriously harm your Application and server's performance if you misconfigure an App Pool.
More info on Application Pool specific configuration parameters:
http://www.microsoft.com/technet/pr...IIS/1652e79e-21f9-4e89-bc4b-c13f894a0cfe.mspx
An extremely good tutorial on Ensuring Application Availability :
http://www.microsoft.com/technet/pr...IIS/1652e79e-21f9-4e89-bc4b-c13f894a0cfe.mspx
On this last page, open the fly-ou menu on the left,
and make sure you read through every single page.
It will be one of the best investments you can make in regard to learning
how to configure your applications for top availability and performance.
Juan T. Llibre, asp.net MVP
asp.net faq :
http://asp.net.do/faq/
foros de asp.net, en español :
http://asp.net.do/foros/
======================================
Paul said:
thanks for the additional information, still not sure what is causing it but
I wrote a small sample program and I am able to upload files to the root
directory ok, but when I upload to the bin directory it looses the session
variable, which corresponds to listing c provided. I am not sure what the
CAS policy is, also not quite sure what listing i means?