PC Review


Reply
Thread Tools Rate Thread

Cache vs Session

 
 
Jawahar Rajan
Guest
Posts: n/a
 
      15th Feb 2004
All,
I am working on a web Application where some information needs to be
persisted across some web pages.

For example I need to keep track of CustomerID
Would it be better to Cache this CustomerID using the System.web.Caching
classes or is it better to use the ASP session.
I have not been a huge fan of the Session Objects so tend to Cache.
But setting the session level variable is vary simple

All suggestions and ideas are apporeciated

Thanks
Jawahar


 
Reply With Quote
 
 
 
 
Scott M.
Guest
Posts: n/a
 
      15th Feb 2004
I would only use caching for data the persists across users, not for user
specific data.

Sessions are handled much more robustly in .NET than in classic ASP and you
can use a state server or cookieless sessions as well.


"Jawahar Rajan" <(E-Mail Removed)> wrote in message
news:zqSXb.9560$(E-Mail Removed)...
> All,
> I am working on a web Application where some information needs to be
> persisted across some web pages.
>
> For example I need to keep track of CustomerID
> Would it be better to Cache this CustomerID using the System.web.Caching
> classes or is it better to use the ASP session.
> I have not been a huge fan of the Session Objects so tend to Cache.
> But setting the session level variable is vary simple
>
> All suggestions and ideas are apporeciated
>
> Thanks
> Jawahar
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cache and Session State dities13@gmail.com Microsoft Dot NET 0 4th Jun 2008 08:18 PM
2.0: Cache vs Session RAM Microsoft ASP .NET 2 14th Aug 2006 09:20 PM
Cache Session and ViewState Dragon Microsoft ASP .NET 3 1st Mar 2006 10:49 AM
Session or Cache(ing) of DataSet? Mike Lambert Microsoft ADO .NET 1 26th Mar 2004 09:48 AM
Session VS. Cache Robir Microsoft ASP .NET 3 12th Mar 2004 01:42 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:11 PM.