Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 176
  • Last Modified:

When to use asp.net session database

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
Camillia
Asked:
Camillia
  • 2
1 Solution
 
Manoj PatilSr. Software EngineerCommented:
Can you explain the Scenario ???
For what purpose you are using Session ?? means what you are going to store in session. ??
0
 
CamilliaAuthor Commented:
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
 
Manoj PatilSr. Software EngineerCommented:
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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now