Amogh
Amogh

Reputation: 4573

Cache or Session?

Storing user specific data (like loginAccountId etc.) in cache is how much benificial?

As user logins in system if we store LoginAccountID in cache instade of session is benificial or not?

What issue i ll face if store in cache?

Upvotes: 1

Views: 638

Answers (1)

Khanh TO
Khanh TO

Reputation: 48972

Actually, session variable on server was designed to cache user-specific data. Storing user-specific data in cache like reinventing the wheel.

Upvotes: 1

Related Questions