The service and the app are all part of the same project? Same application pool?

Is the application pool recycling between data being sent to cache,
and the attempt to retrieve from cache in the service?

There's no trick here -- the cache is accessible across the
application, wherever the context is available. Same app, same app
pool, same cache.

∞ Andy Badera
∞ +1 518-641-1280
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=andrew%20badera



On Tue, Sep 15, 2009 at 10:23 AM, nik <[email protected]> wrote:
>
> hi guys,
>
> I'm trying to develop a web service that requires access to the
> httpcontent current cache used by the calling web application. Is this
> even possible? If so how do I go about doing it?
>
> The calling application uses the HttpContent.Current cache and posts
> data to it via the .Insert and retrieves is via the .Get methods.
>
> When I call the web service the cache seems to be empty and I can't
> access the elements posted to it by the calling web app. Is there a
> way to persist the cached data between the two?  I understand that
> this may not be possible as web services are aren't used in this
> manner.
>
> Thanks for your time.
>

Reply via email to