?
Solved

Session object default Name/Value Pairs

Posted on 2014-01-17
2
Medium Priority
?
292 Views
Last Modified: 2014-02-02
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
Comment
Question by:metro156
[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 Comments
 
LVL 4

Expert Comment

by:ItWorked
ID: 39790332
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
 
LVL 12

Accepted Solution

by:
deanvanrooyen earned 1500 total points
ID: 39792759
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!

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

777 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