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

  • Home
  • SEARCH
  • 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 6872667
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T03:57:29+00:00 2026-05-27T03:57:29+00:00

I have a screen where a user selects database source from a drop down.

  • 0

I have a screen where a user selects database source from a drop down. Once that’s selected I would like the information passed onto other screens so the user does not keep having to select.

How can I pass information such as this from one screen to another? Note that the information is just very small things like:

DatasourceID - 2 characters
SubjectID - 2 characters

As I am running on Azure can I assume the best place to store this would be on the client side? I saw one implementation that stored data like this:

Session["abc"] = "def";
if (Session["abc"] != null)
etc ...

Is this the best way or am I missing something. Also how would the above work when the page could be served by different servers each time around? Does the above store information locally?

  • 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-27T03:57:30+00:00Added an answer on May 27, 2026 at 3:57 am

    The Session is stored on the Server Side. Now in Azure you have a few options where exactly it is stored. It depends on what you would like to do with this datasource. If this is something you just need in the following screen, you can store it in TempData which is stored in the session. It is kept there until you read it.

    Now you have these options to store the session state:

    1. in Azure AppFabric Cache
    2. in a SQL Azure DB
    3. in blob storage

    Azure AppFabric Caching has got a Session provider which is very easy to set up. You can just create a new cache in the Azure portal and get the required web.config entries by clicking the according button on the toolbar. this is also explained in detail here.

    Using that you can store things in the Session out of process. The downside is that it’s a bit expensive (about 45$/month for a 128 MB cache). So the alternative would be to store session state in SQL Azure. There’s a Session provider for SQL Azure.

    Here’s a link to a great introduction by Scott Hanselman to the ASP.NET universal providers. If you’re not using membership, then you just need to setup System.Web.Providers.DefaultSessionStateProvider.

    Just make sure you point the connection string to your SQL Azure DB. Note: You must set MultipleActiveResultSets=True in the connection string, so be sure to add it back if you’ve copied the SQL Azure connection string from the portal.

    Then there is also a session provider for blog storage in the training Kit, available with a sample app at http://code.msdn.microsoft.com/windowsazure/Windows-Azure-ASPNET-03d5dc14.
    I believe it is unsupported by MS.

    Hope this helps.

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

Sidebar

Related Questions

I have a list of books obtained from the database. When a user selects
I have a little log in screen that pops up if a user selects
I have a screen with pivot functionality, and I'd very much like just one
In an embedded program I have a screen object that needs to manage a
I currently have a script which will pull in image contents from a database
I have a windows forms application. When a user selects an item to view
I have a question about WiX installers Currently if the user selects Custom Setup,
I have a Product edit screen. The user can select a Vendor for the
On my preference screen I have a preference that when clicked opens a color
So I am presenting a full screen modal view when the user selects an

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.