Welcome Guest, Not a member yet? Register   Sign In
Sessions
#3

This is how I set mine up and they work just fine.

Create a folder under ./application called writable.

PHP Code:
./application/writable 

Then set your config file like this.

PHP Code:
$config['sess_save_path'] = APPPATH.'writable'

As far as sessions not being deleted check your php.ini session settings.

Make sure that:

Code:
# Default session parameters
session.gc_probability = 1   # Make sure that this is not set to 0 (ZERO)
session.gc_divisor = 1000
session.gc_maxlifetime = 1440

This works very well for me using this setup.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
Sessions - by Knutsford - 01-01-2019, 07:15 AM
RE: Sessions - by dave friend - 01-01-2019, 08:49 AM
RE: Sessions - by InsiteFX - 01-01-2019, 08:58 AM
RE: Sessions - by Knutsford - 01-01-2019, 09:16 AM
RE: Sessions - by Knutsford - 01-01-2019, 09:19 AM
RE: Sessions - by Knutsford - 01-01-2019, 12:24 PM
RE: Sessions - by dave friend - 01-02-2019, 08:48 AM
RE: Sessions - by Knutsford - 01-02-2019, 09:19 AM
RE: Sessions - by ciadmin - 01-02-2019, 10:32 AM
RE: Sessions - by Knutsford - 01-02-2019, 10:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB