Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Ok, I have a new job and they have this issue...

 

There's a ASP.Net "worker process" that keeps Viewstates. Users like to keep their sessions all day long.When the limit reaches 630 Meg, users get a msg that viewstate has been deleted and this "worker process" restarts and users lose their session...

 

Solution by the people who developed the app is to move viewstate to the database. I think a lot of code changes...

 

what other solutions are there? I think one is to keep the viewstate on another server..i think...

 

any thoughts?

  • Administrators
Posted

When you say Viewstate - do you mean ASP.Net viewstate? If so that is stored on the client as part of the generated HTML and as such shouldn't be stored on the server.

 

If on the other hand you mean Session state then yes this could be stored in a DB simply by altering the web.config (and possibly installing the state DB on a suitable SQL server).

 

Also why do the need to keep there session and all associated data all day long - what on earth are they doing (or think they are doing) that requires this? How many users are concurrent on the system that they are hitting 630M of session information?

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Posted
They said they were keeping datasets in session. Now they change the code and using cache and this should fix the issue but we shall see when the code goes into production.

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...