473,386 Members | 1,791 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Session oject is null

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/For...p-net/200508/1
Nov 19 '05 #1
1 955
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/For...p-net/200508/1

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: stand__sure | last post by:
This has bugged me for some time. Is there any "behind the scenes" difference between the following two snippets? Dim obj1 As Object = New Oject() {} Dim obj2 As Object = New Object(-1) {}...
14
by: aroraamit81 | last post by:
Hi, I am facing a trouble. I have some Session variables in my code and somehow my session variables are getting mixed up with other users. For example User A has access to 10 companies and...
1
by: Santosh | last post by:
Dear All i am writting a code sending mail with attachement. i am writting code for sending mail in one page and code for attaching a file in the next page. aftet attaching a file i am taking...
3
by: veenna | last post by:
Hi all, I have a page in asp.net. A button click in the page will open a pop-up. I have used btn.attributes.add("onclick", ""); to open the pop-up. Now if session is expired, it is opening the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.