For Programmers: Free Programming Magazines  


Home > Archive > ASP .NET > August 2005 > Session oject is null









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Session oject is null
Ramkumar T via DotNetMonster.com

2005-08-31, 6:59 pm

Hi
I have written a simple web application in which the home page stores a small
arraylist (populated from a remoe database) in the session object to be used
by the subsequent pages.
However, when the session variable is being accessed by the other pages, it
is returning null. It was working fine until the latest deployment of the wen
app. Nothing has changed since then (other than a simple minor label name
change).

Is there anything I need to set to resolve this. Please help.

Thanks
TSR


--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/Fo...sp-net/200508/1
Brad Roberts

2005-08-31, 6:59 pm

It sounds like may the session has timed out, or session state has been
disabled or something is tearing down the application object too frequently.
A change to a file in the app directory at run-time might do it if the
project is dependent on the file. Maybe the browser security has been
modified to NOT allow session cookies.

Just some ideas...

"Ramkumar T via DotNetMonster.com" wrote:

> Hi
> I have written a simple web application in which the home page stores a small
> arraylist (populated from a remoe database) in the session object to be used
> by the subsequent pages.
> However, when the session variable is being accessed by the other pages, it
> is returning null. It was working fine until the latest deployment of the wen
> app. Nothing has changed since then (other than a simple minor label name
> change).
>
> Is there anything I need to set to resolve this. Please help.
>
> Thanks
> TSR
>
>
> --
> Message posted via DotNetMonster.com
> http://www.dotnetmonster.com/Uwe/Fo...sp-net/200508/1
>

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com