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. Quote Link to comment 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? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.