[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

When to use asp.net session database

Posted on 2011-09-30
3
Medium Priority
?
173 Views
Last Modified: 2012-05-12
I'm working on an ASP.net project that will be used in doctor's offices. As it is now, I've only used one or 2 session variables. When do I need to use a session database?
0
Comment
Question by:Camillia
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 19

Expert Comment

by:Manoj Patil
ID: 36893963
Can you explain the Scenario ???
For what purpose you are using Session ?? means what you are going to store in session. ??
0
 
LVL 7

Author Comment

by:Camillia
ID: 36893996
User logs in using ASP.Net membership login control. I store the userId in a session and use it thru out the app to pass to store procs to pull data.
0
 
LVL 19

Accepted Solution

by:
Manoj Patil earned 2000 total points
ID: 36896355
If you are just using userId stored in session then you don't need to do anything extra. just store userId in session and use it. If there is problem with Session Time out, just increase the session time.

A very good explanation of Session is Here.

http://www.codeproject.com/KB/aspnet/ExploringSession.aspx
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question