472,791 Members | 2,101 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

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 1526
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: patrice | last post by:
Is it possible to modify the Request-Line of an HTTP response ? I'd like to remove the parameters from a GET url. More precisely, I wish I could replace : with : The "Header" function...
5
by: Robert Spoons | last post by:
Can you look over this code, preferably try it, and comment? I believe the 'extend' function below will allow you to use full 'class inheritance' in javascript, but I would like to verify it. ...
3
by: jrefactors | last post by:
page0.asp->page1.jsp When the user click submit button in page0.asp, it will post the form request to page1.jsp. page0.asp and page1.jsp are in separate machines. In page1.jsp, based on the...
8
by: CDARS | last post by:
Hi all, I have a confusing question on ASP.NET cookies usage: 1> Response.Cookies("test").value = Now 2> Response.Write(Request.Cookies("test").value) 3> 4> Response.write("<hr>") 5>...
6
by: saden_paki | last post by:
I am having this problem, that Request.UrlReferrer comes out to be Nothing, when a user hits a button on a html page which only have this button, on this button's onClick javascript event I have...
3
by: ExclusiveResorts | last post by:
Can the CallContext be used reliably for storing request specific data? We are developing an application library that uses the CallContext to keep an IdentityMap (hashtable of business objects...
14
by: DavidNorep | last post by:
I do not know PHP, consider to write a CGI with this technology and have the following question. Is it possible to invoke a PHP script and let it endlessly wait for requests from a website (a...
4
by: Pool | last post by:
I tried to connect DB2 (Sitting in Unix server at my client location) using Db2 connect V8. I am getting the following error message. I tried all the possible options BUt the error is same.. See each...
5
by: Rory Becker | last post by:
I have had code in my Application_Start which is intended to run once at the start of my application's life. It loads connection information and similar from a known location. However I...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.