Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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.

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...