Quantcast
Channel: CodeIgniter Forums - All Forums
Viewing all articles
Browse latest Browse all 14346

Session Fallback Hook

$
0
0
Hi all,

A lot of my clients who use my CI software regular get session errors because they use webhosts where the default session_save_path() is not writable, doesn't exist or some other BS. It ends up with the user getting lots of errors when they upload the software.

What I want to do is make a hook which will test their session.save_path value and see if it's writable. if it's not, fallback to using the database driver.

Do you think this is a good idea? Because I have to answer the same question multiple times a day, I figured this would help reduce the amount of these issues these clients get. Especially when all they want to do is get quickly setup.

Looking for any thoughts/comments.

Thanks!

Viewing all articles
Browse latest Browse all 14346

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>