|
-
Dec 5th, 2008, 07:05 AM
#1
Thread Starter
New Member
Session expires when i use scripting reference in C#.
Hi Guys,
I am working on an ASP.Net2.0 project using c#.
I am using Microsfot Runtime Scripting Library reference for creating and deleting folders.
But after creating any folder continuosly for two times the sessions used in my project are getting killed (expiring) due to my page crashes and folders are not getting deleted properly.
Please help me with some solution.
-
Dec 5th, 2008, 07:12 PM
#2
Not NoteMe
Re: Session expires when i use scripting reference in C#.
I believe creating a folder within the website folder will trigger it to be re-compiled, resulting in any sessions being lost.
Could you create the folders outside of your site folder (if you not doing so already)?
Quotes:
"I am getting better then you guys.." NoteMe, on his leet english skills.
"And I am going to meat her again later on tonight." NoteMe
"I think you should change your name to QuoteMe" Shaggy Hiker, regarding NoteMe
"my sweet lord jesus. I've decided never to have breast implants" Tom Gibbons
Have I helped you? Please Rate my posts. 
-
Dec 8th, 2008, 03:34 PM
#3
Re: Session expires when i use scripting reference in C#.
Any changes you make to folders, folder structures and web.config files will cause the application pool to recycle. When the application pool recycles, sessions are lost as that portion of memory is 'cleared' for a new start.
Such manipulations should ideally occur outside the web application folder.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|