Solved

Session object default Name/Value Pairs

Posted on 2014-01-17
2
284 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
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 500 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
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…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

776 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