21282 Posts in 5730 Topics by 2601 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 676 Views |
-
Saving Session in Database

29 December 2010 at 5:04am
Hello everybody,
we are about to migrate our site from one webserver to a load-balancing solution in Amazon EC2 using Elastic Load Balancer and Auto Scaling. Therefore that the session data is accessible globally. Does SilverStripe support storing session data in the database (I guest that's the only serious possibility) or is there some recommended approach?
Greetings,
Rainer -
Re: Saving Session in Database

3 June 2011 at 1:52am
Hi, did you find a solution to this?
I was looking for something similar, I've ended up storing them using the htaccess modification as stated in another thread, but here's the general idea:
php_value session.gc_probability 1
php_value session.gc_divisor 100
php_value session.gc_maxlifetime 3600
php_value session.save_path /sharedstorage/sites/domain/sessionsNot sure if that's a solution for you either, but it kind of worked for us.
| 676 Views | ||
|
Page:
1
|
Go to Top |


