Solved

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

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

ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Turn on intranet settings 1 57
Add different cell to otherwise similiar row 4 39
Getting error in connectionstring with Excel. 30 32
List<PaisEntity> - show some 1 24
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…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

809 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