answersLogoWhite

0


Best Answer

Assuming that your browser has cookies turned on, and sessionStateMode is not "off" in your web.config...

The Session object is not always available on a page or in the Global.asax. When a request comes in, it contains an ASPNetSessionID value in a cookie. This is used to obtain a reference to Session state.

In Global.asax, the Session object will not be available until the Application_AcquireRequestState event.

In standard page requests, session state should be established by the time the Init event fires, it will not be availabe in the page constructor.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: When i am trying to access the session item it is giving me null exception. but to my knowledge the session is not expired how to encounter this?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

On club penguin why does it say end of session?

If your membership has expired, it would say that.


When you logg on adam4adam it tells me session expired?

it cant expire its a free global game it just cant.


Which layer offers provisions for data expedition class of service and exception reporting?

session layer


What does it mean when it say that your apple Id session time has expired?

It Means that you need to sign in again cos you have waitde too long when you last sign in and it SUCKS


When soliciting authentic feedback as a means of increasing self knowledge you should?

Be sure that the feedback session is part of a formal process.


Using your knowledge of the language of the political subculture what does it mean to filibuste?

to attempt to prevent a vote in a Congressional session by using up time.


What should you do if you signed in Facebook and it says session expired every time?

It means that it has been too long since you logged in. Next time, try to click the checkbox remember me or if not, change your password.


What is the independent and dependent variable here.the purpose of this study was to determine the effectiveness of an education session on elders knowledge of drug to drug interaction?

Independent: amount of education provided. Dependent: knowledge of drug to drug interaction.


Why your yahoo mail doesn't have any sign out link?

The Yahoo mail may not have any sign out link because it may have logged you out automatically when you session had expired. Usually there is a link to sign out of the mail at the top of the website.


How do you spell the word session?

The correct spelling is "session."


How much is sag scale rate for child's commercial?

SAG scale is the same for a child as it would be for an adult. It is currently $567.10 for a principal 8-hour session fee. An 8-hour session fee for an extra is currently $309.30. Please note that the commercial contract expired on 3/31/09 and new rates will be forthcoming - an expected 4.5% increase is anticipated.


What is a period of time during which a legislature meets to conduct business?

A session of congress