Posts Tagged: sessions management


10
Jan 09

Session management after automated deployment best practices

Now, I’m working on automated deployment platform for LAMP
environment, using Apache Ant.

Now it looks, something like that:

1. blocks all requests, and display “Website is under construction
page.
2. implement database schema updates
3. update the application’s source code
4. unblock all the requests and hide “Website is under construction” page.

I thought, that we need the following:
after third, and before fourth point I want the webserver to drop the sessions of already loggined users. I think, this practice is useful for automated deployment, because there might
be significant changes in sessions handling and in the application
core itself, so it is better to drop users’ sessions and force them to
login again.

Because it is an automated deployment and usually take very small time, so we can’t wait when loggined user’s session will expired.

Continue reading →