How clear user cache or session?

Notice: This thread is very old.
FromRussia
Member | 7
+
0
-

How clear user cached data after update?

CZechBoY
Member | 3598
+
0
-

Delete contents of cache storage. If you use default FileStorage then by default directory temp/cache.

FromRussia
Member | 7
+
0
-

CZechBoY wrote:

Delete contents of cache storage. If you use default FileStorage then by default directory temp/cache.

This method is known to me =).
How do I get updated data of a particular authorized user?

FromRussia
Member | 7
+
0
-

For example.
The user have name and email. At any time, he can change the data.
At the same time, these data do not change

$this->user

How to reset the cached data of a particular user?
How to disable caching of the data of the authorized user?

Last edited by FromRussia (2017-01-11 12:06)

CZechBoY
Member | 3598
+
0
-

You probably store it in identity, so update identity when updating database.

Barbarossa
Member | 72
+
0
-

CZechBoY wrote:

You probably store it in identity, so update identity when updating database.

or simply use database intend of cache (where you need show user information such as email, name etc.)

Last edited by Barbarossa (2017-01-11 12:37)