YiiBackboneBoilerplate
YiiBackboneBoilerplate copied to clipboard
Deploy script resets sessions
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.