Solved

Session object default Name/Value Pairs

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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

734 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