Re: cache dataset on server accross WS calls

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hello moondaddy,

You need to use Cache class of System.Caching

There is a brief description and samples of how to use it
http://samples.gotdotnet.com/quickstart/aspplus/default.aspx?url=%2fquickstart%2faspplus%2fdoc%2fdatacaching.aspx

m> I want to cache a dataset on a server via a web service. I was
m> thinking of caching it in a session object and returning the session
m> ID as a string in the web service back to the windows client.  Then I
m> want the windows client to call a aspx page passing in the sessionID
m> as a parameter and therefore could access the dataset for further
m> processing.

---
WBR,
Michael Nemtsev
"At times one remains faithful to a cause only because its opponents do not cease to be insipid. (c) Friedrich Nietzsche"



.



Relevant Pages

  • Software for app bandwidth measurement
    ... Our VB.Net Windows client application makes connections to ... the server. ... connection bandwidth required for each session. ... Feng ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Remote assistance recommendations
    ... Windows client might also be useful to me. ... Would prefer a "pay per ... session" model rather than a fixed subscription. ...
    (uk.comp.sys.mac)
  • Re: Hijack Session
    ... session id in the first place - this is the danger of cookieless session ... Microsoft MVP - Windows Client ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Intranet Login using ASPdotNET (advice)...
    ... You should read a bit about FormsAuthentication ... limit the scope of the session object? ... You should use the Session object, the Cache object has a different ... How do I set the session to expire in XX minutes? ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Access session of another user
    ... user's session by a session id or user id, ... I strongly recommend you to use the Profile ... Profile object is persistent whereas Session object is non-persistent. ... Microsoft Online Community Support ...
    (microsoft.public.dotnet.framework.aspnet)