Cache or HttpApplicationState

Discussion in 'ASP .Net Web Services' started by Brian, Oct 18, 2005.

  1. Brian

    Brian Guest

    Hopefully someone can clear this up for me.

    Is "Context.Cache.Insert(....)" cached per worker process? So if I have a
    webservice and we up the process to something like 5, does that mean that
    there will be 5 copies of the same object in memory?

    I have something crucial that I need to keep in cache, but there can only be
    one version of it, and all the processes must use the same object.
    In this case, would it be a good idea to use the
    "HttpContext.Current.Application.Set(...)"?

    I believe this is the case in web applications, but I have never seen this
    issue addressed in web services. Is this even an issue?
     
    Brian, Oct 18, 2005
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rajesh.V

    HttpApplicationState question..

    Rajesh.V, Jan 7, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    508
    Paul Glavich
    Jan 7, 2004
  2. Natan
    Replies:
    5
    Views:
    1,607
    Natan
    Sep 27, 2004
  3. moi
    Replies:
    2
    Views:
    667
  4. mnowosad

    HttpApplicationState data being lost

    mnowosad, Sep 16, 2008, in forum: ASP .Net
    Replies:
    1
    Views:
    748
    Guest
    Sep 17, 2008
  5. Ajay Choudhary

    Accessing HttpApplicationState object from SoapExtension

    Ajay Choudhary, May 16, 2005, in forum: ASP .Net Web Services
    Replies:
    1
    Views:
    150
    Brock Allen
    May 18, 2005
Loading...

Share This Page