Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 440871
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T20:54:58+00:00 2026-05-12T20:54:58+00:00

I have a fairly complex ASP MVC set of controls that set a data

  • 0

I have a fairly complex ASP MVC set of controls that set a data filter (account ID range, cost range, carrier, dates etc). This also creates a data table object with the standard result set type object.

The user might wonder away from the page and then come back. I want to restore the previous filter control states and also pull the current result set.

What is the standard ASP MVC method for storing the user session state? I do have access to a SQLServer database. One idea is to store the filter view object and current result in the cache.

I do not need to restore the state between session visits (they close the browser and come back at another time.)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T20:54:58+00:00Added an answer on May 12, 2026 at 8:54 pm

    Storing Session State is the right key word.

    http://msdn.microsoft.com/en-us/library/ms972429.aspx

    http://www.devarticles.com/c/a/ASP/Maintaining-Session-State-With-ASP/

    You need to simply grab the session state variable and store it somehow, then retreive it somehow. That might be a lot of work, and there might be a built in way to make it happen since you have an MS SQL Server right there. But I dont know about hooking those things up, so I’d write the session object to an objectstream hooked into the database. You can query for it later.

    EDIT:
    On the other hand, since you said you don’t need it to be restored between visits, maybe you just want to make the lease duration of this one a lot longer than it is. Sounds like they are timing out? Tell it to hang onto connections for a few more hours. Unless they close the page, theyll get a new logon at the front if the browser deleted cookies.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a fairly complex set of C++ classes that are re-written from Java.
I have a fat GUI that it getting fairly complex, and I would like
I've got a fairly complex classic asp page that for some users doesn't render
I have a fairly complex multi threaded application (server) that from time to time
I have a fairly complex application in Delphi 2006 that communicates through an ApdComport
I have built a fairly complex form which includes a hidden section that the
I have a fairly complex CLR stored procedure. What is the best way to
Our users have created MS-Excel spreadsheets which over time have evolved into fairly complex
I have a fairly small MySQL database (a Textpattern install) on a server that
I have a fairly simple ASP.NET 2.0 menu control using a sitemap file and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.