session become out
-
in web config file i am declaring session time out ="1444" but it is not working, after some time session become expire my code is as give below.. <compilation debug="true"> <assemblies> <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> </assemblies> </compilation> <sessionState mode="InProc" cookieless="false" timeout="1444" > </sessionState> any one know plz tell me
krishna veer singh
-
in web config file i am declaring session time out ="1444" but it is not working, after some time session become expire my code is as give below.. <compilation debug="true"> <assemblies> <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> </assemblies> </compilation> <sessionState mode="InProc" cookieless="false" timeout="1444" > </sessionState> any one know plz tell me
krishna veer singh
You are storing the session in Inproc which is well known for the session loss. If you are using IIS 6 then possible reson could be that your worker process could have been recycled.(you can change it by going to the properties of the application pool of your application). You can store the session in StateServer to prevent such accidents
Thanks Laddie Kindly rate if the answer was helpful
-
You are storing the session in Inproc which is well known for the session loss. If you are using IIS 6 then possible reson could be that your worker process could have been recycled.(you can change it by going to the properties of the application pool of your application). You can store the session in StateServer to prevent such accidents
Thanks Laddie Kindly rate if the answer was helpful
plz tell me how can i change it by going to the properties of the application pool plz explain
krishna veer singh
-
plz tell me how can i change it by going to the properties of the application pool plz explain
krishna veer singh
Setp 1 : Go to your web application(VD) right click > properties find out the application pool name to which it is added. Step : Now go to that applicatio pool right click > properties > Recycling tab There are many versions to configure the recycling by minutes/per requests/Byy schedule etc. You can reconfigure this with your values and save it. (Note this will work only if you are using IIS 6)
Thanks Laddie Kindly rate if the answer was helpful