Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

Setstate

$
0
0
I have used setState (below) to store data in session. Is it always unsafe way to save information? Can it be made safe?

Yii::app()->user->setState('sum', $this->sum);

Viewing all articles
Browse latest Browse all 18717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>