Ask a Question related to ASP.NET General, Design and Development.
-
w. jORDAN #1
Questions on HttpContext
Hello ALL!
It is known that there's a HttpContext class in dotnet
framework which provides variable sharing.
I have two questions that i can not get answered in
the SDK. Anyone can be kind enough to tell me the answer?
1. Do variables (Name-Value pairs) in HttpContext travel
between server and client? (i think they don't, right?
If they do, are they encrypted?)
2. How long can the variables hold then (the lifetime)?
w. jORDAN Guest
-
using HttpContext Class
I'm trying to get the PathInfo propert for the current URL request in a class file, but I can't get it to work. Here's what I've tried so far: ... -
httpcontext HELP
The issue is that I want to maintain the login without asking the user to login back to the application in case the session times out.....and how do... -
HttpContext
Hello, i searched 2days for a solution and maybe someone can help me. I'm programmin' a C# Assemblie and don't know which class I should use... -
HttpContext items and one-way methods
Hi, I try to put some custom objects into HttpContext.Current.Items collection in one-way webmethod, but they seem not to be there in another... -
HttpContext.Current
Now how in the wolrd does that work? How does it know that some static method I called on some library was called by a page that had that context?... -
w. jORDAN #2
Re: Questions on HttpContext
Kevin,
Hmmm, now I am in the know.
Thank you for your help!
:)
Jordan
"Kevin Spencer" <kevin@SPAMMERSSUCKtakempis.com> Wrote in news
news:OL54JOxPDHA.1624@tk2msftngp13.phx.gbl...Request>> > 1. Do variables (Name-Value pairs) in HttpContext travel
> > between server and client? (i think they don't, right?
> > If they do, are they encrypted?)
> HttpContext is purely server-side. It is created when IIS passes thepage> to the ASP.Net ISAPI. The ASP.Net ISAPI creates the HttpContext object and
> passes it to the Handler for the request, which is typically an ASP.Netthe> class.
>>> > 2. How long can the variables hold then (the lifetime)?
> The lifetime of the HttpContext is from the beginning of the Request to> ending of the Response. In other words, very short.
>
> HTH,
>
> Kevin Spencer
> Microsoft FrontPage MVP
> Internet Developer
> [url]http://www.takempis.com[/url]
> Big things are made up of
> lots of Little things.
>
> "w. jORDAN" <wmjordan@163.com> wrote in message
> news:%235IVtkqPDHA.2476@TK2MSFTNGP10.phx.gbl...>> > Hello ALL!
> >
> >
> > It is known that there's a HttpContext class in dotnet
> > framework which provides variable sharing.
> >
> > I have two questions that i can not get answered in
> > the SDK. Anyone can be kind enough to tell me the answer?
> >
> > 1. Do variables (Name-Value pairs) in HttpContext travel
> > between server and client? (i think they don't, right?
> > If they do, are they encrypted?)
> >
> > 2. How long can the variables hold then (the lifetime)?
> >
> >
>
w. jORDAN Guest



Reply With Quote

