• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Include a sessions folder?

#7
(06-14-2016, 05:18 PM)cartalot Wrote:
(06-14-2016, 03:34 PM)Narf Wrote: It is Off by default and has never been On.

i meant change this:
$config['sess_driver'] = 'files';

to something like this
$config['sess_driver'] = NULL;

because - unless i'm missing something -  sessions works without any changes to the config.

I don't see the point.

If one loads the library without reading its documentation and not even looking at the config, it is very obvious that every other effort on our part is futile.

(06-14-2016, 05:18 PM)cartalot Wrote:
(06-14-2016, 03:34 PM)Narf Wrote: Examples for what exactly? A directory path that is almost guaranteed to exist and be usable?

A couple of examples of what typically would be in $config['sess_save_path'] . It does not need to cover all cases. Just some samples to help people get started.

There is no "typical" would be value.

It's a directory path, an absolute one (there's a warning for that in the config), and it has to be accessible ONLY by you. No such paths exist by default on any environment; the documentation shows how to create one.

I don't know how else to explain this ... it's either "/foo/bar/" or nothing, and "/foo/bar/" helps nobody.
Reply


Messages In This Thread
Include a sessions folder? - by cartalot - 06-13-2016, 04:14 PM
RE: Include a sessions folder? - by Narf - 06-14-2016, 12:59 AM
RE: Include a sessions folder? - by cartalot - 06-14-2016, 01:28 PM
RE: Include a sessions folder? - by skunkbad - 06-14-2016, 02:33 PM
RE: Include a sessions folder? - by Narf - 06-14-2016, 03:34 PM
RE: Include a sessions folder? - by cartalot - 06-14-2016, 05:18 PM
RE: Include a sessions folder? - by Narf - 06-15-2016, 08:35 AM
RE: Include a sessions folder? - by andrelupus1 - 02-14-2019, 06:09 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme ¬© 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.