• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved] Files-Sessions spam

(08-21-2017, 01:20 AM)Tampa Wrote: That didn't seem to do anything in this case, but I did figure it out eventually.

Basically I had the session library loaded in a controller that really only does one thing, output database data to a page based on the id in the database. Somehow that caused a session to be created every time the page was called, why is beyond me, but after removing the session library from load in that controller the spamming stopped. The library isn't even used, nothings done with sessions in the only view it handles and the only model function it uses does not use the sessions either. While I would like to know what could cause this I would consider this solved now.

The session_start() in the New Session Library, starts a new session every time, which creates a new session file. This is unlike 2.x or 1.x, so I'm not sure how to fix this. I struggle with the same situation.

Messages In This Thread
[Solved] Files-Sessions spam - by Tampa - 08-20-2017, 04:29 PM
RE: Files-Sessions spam - by Narf - 08-21-2017, 12:54 AM
RE: Files-Sessions spam - by Tampa - 08-21-2017, 01:20 AM
RE: Files-Sessions spam - by gregavola - 08-23-2017, 09:35 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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