469,922 Members | 2,141 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,922 developers. It's quick & easy.

request specific holding location....

Hi,
I have some request specific data that gets created in a "early event", that
I need to pass around to many other events.
I need access to this data during that request.
(and more importantly disapears after the request is completed).

But... asp.net "Request" is read only.
Is there a request specific global place, where I can put this data into?
Thanks
Nalaka


Nov 24 '05 #1
4 1418
Hi Nalaka,

Welcome to ASPNET newsgroup.
Regarding on the storing request specfic data which can be accessible
throughout the requests' server lifecycle (in all the public request
related events...) question, I think you can consider using the
HttpContext.Current.Items collection... HttpContext.Current represent the
current processing Request's Httpcontext (the associated serverside ASP.NET
worker thread). and the Items collection can help store some request/worker
thread specific datas which can be accessible during the request's
processing pipeline....

Hope helps. Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| From: "Nalaka" <na******@nospam.nospam>
| Subject: request specific holding location....
| Date: Wed, 23 Nov 2005 17:39:22 -0800
| Lines: 16
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| Message-ID: <eD**************@TK2MSFTNGP14.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: m181-9.bctransit.bc.ca 199.60.181.9
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP14.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:360604
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Hi,
| I have some request specific data that gets created in a "early event",
that
| I need to pass around to many other events.
| I need access to this data during that request.
| (and more importantly disapears after the request is completed).
|
| But... asp.net "Request" is read only.
| Is there a request specific global place, where I can put this data into?
|
|
| Thanks
| Nalaka
|
|
|
|
|

Nov 24 '05 #2
Hey Nalaka,

Does my suggestion help you a little? If there're anything else we can
help, please feel free to post here.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| X-Tomcat-ID: 62363310
| References: <eD**************@TK2MSFTNGP14.phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: st*****@online.microsoft.com (Steven Cheng[MSFT])
| Organization: Microsoft
| Date: Thu, 24 Nov 2005 03:09:56 GMT
| Subject: RE: request specific holding location....
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| Message-ID: <ht**************@TK2MSFTNGXA02.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Lines: 49
| Path: TK2MSFTNGXA02.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:360613
| NNTP-Posting-Host: TOMCATIMPORT1 10.201.218.122
|
| Hi Nalaka,
|
| Welcome to ASPNET newsgroup.
| Regarding on the storing request specfic data which can be accessible
| throughout the requests' server lifecycle (in all the public request
| related events...) question, I think you can consider using the
| HttpContext.Current.Items collection... HttpContext.Current represent
the
| current processing Request's Httpcontext (the associated serverside
ASP.NET
| worker thread). and the Items collection can help store some
request/worker
| thread specific datas which can be accessible during the request's
| processing pipeline....
|
| Hope helps. Thanks,
|
| Steven Cheng
| Microsoft Online Support
|
| Get Secure! www.microsoft.com/security
| (This posting is provided "AS IS", with no warranties, and confers no
| rights.)
|
| --------------------
| | From: "Nalaka" <na******@nospam.nospam>
| | Subject: request specific holding location....
| | Date: Wed, 23 Nov 2005 17:39:22 -0800
| | Lines: 16
| | X-Priority: 3
| | X-MSMail-Priority: Normal
| | X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| | X-RFC2646: Format=Flowed; Original
| | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| | Message-ID: <eD**************@TK2MSFTNGP14.phx.gbl>
| | Newsgroups: microsoft.public.dotnet.framework.aspnet
| | NNTP-Posting-Host: m181-9.bctransit.bc.ca 199.60.181.9
| | Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP14.phx.gbl
| | Xref: TK2MSFTNGXA02.phx.gbl
| microsoft.public.dotnet.framework.aspnet:360604
| | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| |
| | Hi,
| | I have some request specific data that gets created in a "early event",
| that
| | I need to pass around to many other events.
| | I need access to this data during that request.
| | (and more importantly disapears after the request is completed).
| |
| | But... asp.net "Request" is read only.
| | Is there a request specific global place, where I can put this data
into?
| |
| |
| | Thanks
| | Nalaka
| |
| |
| |
| |
| |
|
|

Nov 29 '05 #3
hi Steven... thanks a lot
this is exactly what I was looking for......

Nalaka
"Steven Cheng[MSFT]" <st*****@online.microsoft.com> wrote in message
news:8n****************@TK2MSFTNGXA02.phx.gbl...
Hey Nalaka,

Does my suggestion help you a little? If there're anything else we can
help, please feel free to post here.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| X-Tomcat-ID: 62363310
| References: <eD**************@TK2MSFTNGP14.phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: st*****@online.microsoft.com (Steven Cheng[MSFT])
| Organization: Microsoft
| Date: Thu, 24 Nov 2005 03:09:56 GMT
| Subject: RE: request specific holding location....
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| Message-ID: <ht**************@TK2MSFTNGXA02.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Lines: 49
| Path: TK2MSFTNGXA02.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:360613
| NNTP-Posting-Host: TOMCATIMPORT1 10.201.218.122
|
| Hi Nalaka,
|
| Welcome to ASPNET newsgroup.
| Regarding on the storing request specfic data which can be accessible
| throughout the requests' server lifecycle (in all the public request
| related events...) question, I think you can consider using the
| HttpContext.Current.Items collection... HttpContext.Current represent
the
| current processing Request's Httpcontext (the associated serverside
ASP.NET
| worker thread). and the Items collection can help store some
request/worker
| thread specific datas which can be accessible during the request's
| processing pipeline....
|
| Hope helps. Thanks,
|
| Steven Cheng
| Microsoft Online Support
|
| Get Secure! www.microsoft.com/security
| (This posting is provided "AS IS", with no warranties, and confers no
| rights.)
|
| --------------------
| | From: "Nalaka" <na******@nospam.nospam>
| | Subject: request specific holding location....
| | Date: Wed, 23 Nov 2005 17:39:22 -0800
| | Lines: 16
| | X-Priority: 3
| | X-MSMail-Priority: Normal
| | X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| | X-RFC2646: Format=Flowed; Original
| | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| | Message-ID: <eD**************@TK2MSFTNGP14.phx.gbl>
| | Newsgroups: microsoft.public.dotnet.framework.aspnet
| | NNTP-Posting-Host: m181-9.bctransit.bc.ca 199.60.181.9
| | Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP14.phx.gbl
| | Xref: TK2MSFTNGXA02.phx.gbl
| microsoft.public.dotnet.framework.aspnet:360604
| | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| |
| | Hi,
| | I have some request specific data that gets created in a "early
event",
| that
| | I need to pass around to many other events.
| | I need access to this data during that request.
| | (and more importantly disapears after the request is completed).
| |
| | But... asp.net "Request" is read only.
| | Is there a request specific global place, where I can put this data
into?
| |
| |
| | Thanks
| | Nalaka
| |
| |
| |
| |
| |
|
|

Dec 2 '05 #4
You're welcome Nalaka,

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| From: "Nalaka" <na******@nospam.nospam>
| References: <eD**************@TK2MSFTNGP14.phx.gbl>
<ht**************@TK2MSFTNGXA02.phx.gbl>
<8n**************@TK2MSFTNGXA02.phx.gbl>
| Subject: Re: request specific holding location....
| Date: Fri, 2 Dec 2005 09:20:05 -0800
| Lines: 108
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| Message-ID: <#T**************@tk2msftngp13.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: m181-9.bctransit.bc.ca 199.60.181.9
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msft ngp13.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:362352
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| hi Steven... thanks a lot
| this is exactly what I was looking for......
|
| Nalaka
|
|
| "Steven Cheng[MSFT]" <st*****@online.microsoft.com> wrote in message
| news:8n****************@TK2MSFTNGXA02.phx.gbl...
| > Hey Nalaka,
| >
| > Does my suggestion help you a little? If there're anything else we can
| > help, please feel free to post here.
| >
| > Regards,
| >
| > Steven Cheng
| > Microsoft Online Support
| >
| > Get Secure! www.microsoft.com/security
| > (This posting is provided "AS IS", with no warranties, and confers no
| > rights.)
| >
| > --------------------
| > | X-Tomcat-ID: 62363310
| > | References: <eD**************@TK2MSFTNGP14.phx.gbl>
| > | MIME-Version: 1.0
| > | Content-Type: text/plain
| > | Content-Transfer-Encoding: 7bit
| > | From: st*****@online.microsoft.com (Steven Cheng[MSFT])
| > | Organization: Microsoft
| > | Date: Thu, 24 Nov 2005 03:09:56 GMT
| > | Subject: RE: request specific holding location....
| > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| > | Message-ID: <ht**************@TK2MSFTNGXA02.phx.gbl>
| > | Newsgroups: microsoft.public.dotnet.framework.aspnet
| > | Lines: 49
| > | Path: TK2MSFTNGXA02.phx.gbl
| > | Xref: TK2MSFTNGXA02.phx.gbl
| > microsoft.public.dotnet.framework.aspnet:360613
| > | NNTP-Posting-Host: TOMCATIMPORT1 10.201.218.122
| > |
| > | Hi Nalaka,
| > |
| > | Welcome to ASPNET newsgroup.
| > | Regarding on the storing request specfic data which can be accessible
| > | throughout the requests' server lifecycle (in all the public request
| > | related events...) question, I think you can consider using the
| > | HttpContext.Current.Items collection... HttpContext.Current
represent
| > the
| > | current processing Request's Httpcontext (the associated serverside
| > ASP.NET
| > | worker thread). and the Items collection can help store some
| > request/worker
| > | thread specific datas which can be accessible during the request's
| > | processing pipeline....
| > |
| > | Hope helps. Thanks,
| > |
| > | Steven Cheng
| > | Microsoft Online Support
| > |
| > | Get Secure! www.microsoft.com/security
| > | (This posting is provided "AS IS", with no warranties, and confers no
| > | rights.)
| > |
| > | --------------------
| > | | From: "Nalaka" <na******@nospam.nospam>
| > | | Subject: request specific holding location....
| > | | Date: Wed, 23 Nov 2005 17:39:22 -0800
| > | | Lines: 16
| > | | X-Priority: 3
| > | | X-MSMail-Priority: Normal
| > | | X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
| > | | X-RFC2646: Format=Flowed; Original
| > | | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
| > | | Message-ID: <eD**************@TK2MSFTNGP14.phx.gbl>
| > | | Newsgroups: microsoft.public.dotnet.framework.aspnet
| > | | NNTP-Posting-Host: m181-9.bctransit.bc.ca 199.60.181.9
| > | | Path:
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP14.phx.gbl
| > | | Xref: TK2MSFTNGXA02.phx.gbl
| > | microsoft.public.dotnet.framework.aspnet:360604
| > | | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| > | |
| > | | Hi,
| > | | I have some request specific data that gets created in a "early
| > event",
| > | that
| > | | I need to pass around to many other events.
| > | | I need access to this data during that request.
| > | | (and more importantly disapears after the request is completed).
| > | |
| > | | But... asp.net "Request" is read only.
| > | | Is there a request specific global place, where I can put this data
| > into?
| > | |
| > | |
| > | | Thanks
| > | | Nalaka
| > | |
| > | |
| > | |
| > | |
| > | |
| > |
| > |
| >
|
|
|

Dec 3 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by patrice | last post: by
5 posts views Thread by Robert Spoons | last post: by
3 posts views Thread by ExclusiveResorts | last post: by
5 posts views Thread by Rory Becker | last post: by
reply views Thread by Waqarahmed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.