httpConext is Application level object

R

Ryan Liu

Hi,

Just try to confirm that
HttpContext.Current is an Application level object, it is shared by all
sessions for all uses, visible in all http handlers and modules (including
aspx files).

Is this a true stratement?

Thanks,
 
R

Ryan Liu

Ryan Liu said:
Hi,

Just try to confirm that
HttpContext.Current is an Application level object, it is shared by all
sessions for all uses, visible in all http handlers and modules
(including aspx files).

Is this a true stratement?

Thanks,

I take back my said, when I dig more, seems HttpContext object is created
for each HttpRequest. -- Is this true?

But seems Session is stroed in HttpContext.Items["AspSession"], then how can
session cross requests?

Thanks!
Ryan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,233
Members
46,820
Latest member
GilbertoA5

Latest Threads

Top