Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QUESTION SESSION exists and session_start() already called
#5
(2018-03-07, 02:31:17)shawn_a Wrote: Did you check whats in the session? Maybe php auto sessions ?
What I see in the $_SESSION variable is not much
Don't know about "cat", but "p01contact" comes from a plugin that's installed.
"fvVar" is my associative array, which I create.
{ "cat":null,
  "p01contact":{"pageloads":[1520354514,1520354516]},
  "fvVar":{ 
       "ipDns": { "server":{"ip":"8.7.6.5","dns":"do.main.be"},  "client":{"ip":"11.22.33.44","dns":"dom.ain.be"} }
       "geoIp": { ... }, 
       "expirationTime": 123...45
 }  }
At some point, I struggled with excessive memory usage: hundreds of MBs, overflowing the server limit and slowing down the pages, but with some cleaner programming, it remains stable at 5MB. Don't know why exactly it is better now. I didn't need to use session_start().
Reply


Messages In This Thread
RE: SESSION exists and session_start() already called - by vanfruniken - 2018-03-07, 04:35:29



Users browsing this thread: 2 Guest(s)