ASP.NET ~ Session Variables

itagraham

Newcomer
Joined
Dec 13, 2005
Messages
12
Hello,

Here is the problem; I have built a website that makes and receives orders with management facilities on it (Bit of background).

The sessions were working fine doing what they are meant to be doing until lately when they just stopped working, every one of them.

Sometimes they will work for a process and then refuse to work again for long periods of testing time.

Roughly I would use about 10 sessions over 6 WebPages.

Has anyone ever encountered such a problem? Is there such a thing as a limited number of sessions? Might there be a problem with the web config or the IIS?

Any thoughts on the matter would be of great help as this is an urgent matter.
 
Reg. Session

Hi,

You can try the STATESERVER session handling technique. For that in Web.config file, change the key MODE in the tag as "<sessionState mode="StateServer"............>". In that tag, set the timeout property to what you want.

Make sure the state server is enabled in the server where the website is hosted.

If you want the session state to the "InProc", which is default, then try with the timepout property alone. If your authentication mode is Forms, then you can also add the timeout property in the forms tag.
 
Back
Top