Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

If I have a object in each Session out there, how would I go about clear that particular Session object for all Sessions?

 

I can't find anything that gets all current Sessions, I can always create a collection to track that myself, but I would think .NET already has that built in. Maybe not.

 

Basically the site has an administrative function that would update some data. This is a small amount of data that varies by user so it is kept in Session - it's root data comes from data that is being changed in this administrative function. The user object was written to reload itself if Session dies while the user is logged in so the user see no interruption. This particular functionallity I'm doing in essense needs to make that Session object die so it reloads with the most current data (via the changed base data that the administrator sets up).

Posted

That's a good id and then have the object I have in Cache have a property that ties to the Session ID so I can distinguish the data objects (since they vary by user); which will get me the same results.

 

Next question is how to I do this specifying a dependancy? Quick example?

 

Thanks.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...