Cache and session are for different purpose.

Cache exists to resolve the performance issue while session is there for
keeping user related data.

So that cache can be user independent and be shared for all the users, but
it's not a case for session.

2011/6/18 Liju <[email protected]>

> Looks like session and cache have similar job, but cache have more
> advantages. So why not use cache instead of Session ? Is there a
> reason to use session instead of cache for storing state/temporary
> objects that need to live beyond a request/response ?
>
> What does major projects use in Pyramid ?
>
> --
> You received this message because you are subscribed to the Google Groups
> "pylons-discuss" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/pylons-discuss?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to