Jump to content

PHP sessions failing


taefriaj

Recommended Posts

Hello.

 

I use php sessions for login access to my website, but I noticed that login kept failing because no data was being saved in session files.

 

I'm guessing that php session files are stored in /tmp by default. Looking at http://stevie.heliohost.org:2082/frontend/x3/status.html over the last few days, it seems that /tmp (sda6) is 100% full practically all of the time, which would explain why sessions are not working. I presume that this issue affects everyone.

 

I've been using "session_save_path('/home/[myusername]/tmp/phpsessions/');" to get around this problem, but I'd rather not have to do that.

 

Basically I was wondering if anyone could sort this out.

 

taefriaj

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...