Solved

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

Posted on 2003-10-23
3
180 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

790 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