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

#1
in application/config/config.php in the sessions section there is the line

PHP Code:
$config['sess_save_path'] = NULL

could this be changed to
PHP Code:
$config['sess_save_path'] = APPPATH.'/sessions'

and include a 'sessions' folder in the application?

The problem is file sessions is the choice by default AND it works without setting the save path.

Especially if you are developing and not closing and reopening your browser - sessions works perfectly without this set. I can appreciate the viewpoint that everyone should read every single line of the manual. But it seems like by just including one folder in application, and changing that one line - it would make it much easier for anyone trying to learn codeigniter and for people upgrading from CI 2. And if its not used then its just another empty folder like 'third_party'. Credit to @InsiteFX for helping people with this issue on the forum.
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.