[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

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

Session object default Name/Value Pairs

Where can I get a list of the default Name/Value Pairs of a Session Object in ASP.NET

I know SessionStartTime is one of them.   Specified like so

((DateTime) Session['SessionStartTime"] .
0
metro156
Asked:
metro156
1 Solution
 
Hiran DesaiSolution ArchitectCommented:
I don't think Session(is of dynamic type) does contains default Name-Value pair.
Neither Google tells anything for that..You made me to rewind my wheel!!

Let us know where you come across this line of code..to get more information.
0
 
deanvanrooyenCommented:
in the default System.Web.SessionState.HttpSessionState object there are 0 keys, how do you know 'know SessionStartTime is one of them'? Are you maybe thinking of the http server variables (of which start time isnt one of them)?
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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