Re: database-based sessions for 3rd party php app [message #179023 is a reply to message #179020] |
Wed, 05 September 2012 12:45 |
Axel
Messages: 5 Registered: September 2012
Karma:
|
Junior Member |
|
|
Am Mittwoch, 5. September 2012 14:27:03 UTC+2 schrieb Erwin Moller:
> On 9/5/2012 1:37 PM, The Natural Philosopher wrote:
> You have to do the following:
> The easiest way to do this is by adding a file of yourself somewhere
> where you define the settings and call session_set_save_handler.
> Maybe the existing application has a file that is included everywhere
> (which is very common), then simply add you file to it (via another
> include, use full path to your session-definition-file to avoid
> complexities with include from other directories)
That would be a perfect solution, IF I didn't have to modify a file of the app (even if only one). One reason is development is done elsewhere, and if we use self-applied modifications ... well, you probably know the dance ("not our fault, not a vanilla install, but cannot be reproduced, has to do with your mods, we need more hours to debug, ....."). Yes, they would do that ;)
Thanks for your help!
Axel.
|
|
|