Using the Backup and Migrate module - session issues

cantthinkofanickname - October 24, 2009 - 10:20

If I invoke this module from within Drupal (i.e. not using PHPMyAdmin and having no sessions) the sessions table will have at least one session (and maybe user ones). When a restore is done the session table is likely to have those old sessions recreated. This may mean the session table can grow with junk in it!

Is there a mechanism which (eventually maybe) removes these old sessions or do they stick forever?

Correct me if my hinking is astray here.

Any other convolutions with this situation?

As far as I know, as long as

ronan - October 26, 2009 - 16:06

As far as I know, as long as your php environment is set to garbage collect sessions old sessions will be deleted in time. You can also exclude the contents of the sessions table using Backup and Migrate so that old sessions will not be present after a restore.

------------------------------------
Ronan - Gorton Studios - http://www.gortonstudios.com/

Thanks I will experiment.

cantthinkofanickname - November 13, 2009 - 14:17

Thanks I will experiment.

---------------------------
Thanks for your time.

 
 

Drupal is a registered trademark of Dries Buytaert.