Welcome Guest, Not a member yet? Register   Sign In
How to configure Session with Files
#3

The comments in the config file include the solution to your problem:
PHP Code:
/*
...
| 'sess_save_path'
|
|    The location to save sessions to, driver dependent.
|
|    For the 'files' driver, it's a path to a writable directory.
|    WARNING: Only absolute paths are supported!
|
...
*/ 

Use an absolute path, not a relative path. In Linux, most absolute paths will start with / (in Windows, with a drive letter, like C:\). The easiest way to get an absolute path is to use something like APPPATH, BASEPATH, or FCPATH as the base of your path, or use PHP's realpath().
Reply


Messages In This Thread
How to configure Session with Files - by casa - 04-08-2015, 11:16 PM
RE: How to configure Session with Files - by mwhitney - 09-11-2015, 07:15 AM
RE: How to configure Session with Files - by casa - 09-11-2015, 07:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB