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

Yii Cdbhttpsession

$
0
0
I'm using mysql database to store the user session data. I redirect the user to another server with the session id as a variable (GET), and then i need to retrieve the session from the DB using the ID.

code used in my remote server:

Yii::app()->session->sessionID = $sessionID;
Yii::app()->session->open();
the result is that the session gets overridden with no data (new session is opened). how do i retrieve the session from DB? do i need to create a model for the table or can i use YII session functionality?

thanks, Danny

Viewing all articles
Browse latest Browse all 18717

Trending Articles



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