Solved

Session object default Name/Value Pairs

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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 …
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

708 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now