YiiBackboneBoilerplate icon indicating copy to clipboard operation
YiiBackboneBoilerplate copied to clipboard

Deploy script resets sessions

Open Vijar opened this issue 12 years ago • 0 comments

I got this working in a fairly complex project.

I even set up continuous deployment but there is a problem where any update I do to the code gets production ready(minify and concat) and pushed to production server. After running the ./runpostdeploy script on the server I switch a symbolic link to point to the new code.

Every time I do this, Yii resets its session and forgets that people are logged into the application. I tried CCacheSession so I can put the session in memory and persist it, but nope....any help is appreciated.

Vijar avatar Apr 18 '13 23:04 Vijar