JongMin Posted August 12, 2013 Share Posted August 12, 2013 Hi there, I need to use lots of variables globally which means I should access the variables across files and classes. So I decided to use the $_SESSION['']. But the thing is that it will become like 30 variables per session. I heard that It is bad to use this session variable. Is there other ways to achieve this and is that really bad to use? What is your suggestion? Thanks in advance. Link to comment https://forums.phpfreaks.com/topic/281064-is-it-good-to-use-_session/ Share on other sites More sharing options...
requinix Posted August 12, 2013 Share Posted August 12, 2013 It does sound bad. Exactly what are these values and why do you need them everywhere? Link to comment https://forums.phpfreaks.com/topic/281064-is-it-good-to-use-_session/#findComment-1444497 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.