Solved

ASP.Net  Sessions var don't seem to persist between webforms

Posted on 2003-10-23
3
175 Views
Last Modified: 2010-04-16
I have a Web app. trying to 'pass' a Session var to another page... but when the second page load the value is null, the Application object works and the SessionState is InProc.
What am I missing ????
Thanks!!!
0
Comment
Question by:JElster
  • 2
3 Comments
 
LVL 10

Accepted Solution

by:
ptmcomp earned 125 total points
ID: 9613205
Does your browser loose the cookie? Is on each request a new session started? Set a breakpoint in Global.asax.cs in Session_Start.
0
 
LVL 10

Expert Comment

by:ptmcomp
ID: 9615443
You accepted my comment as answer, so I wonder what caused the problem.
0
 
LVL 1

Author Comment

by:JElster
ID: 9615497
I was calling a 'out of boundary DLL'  and the Session var was being lost..
As long as I set the Session var before the DLL it works fine................???
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

914 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

18 Experts available now in Live!

Get 1:1 Help Now