mkosmosports Posted June 23, 2007 Share Posted June 23, 2007 Hey, I have a situation where I need information from certain arrays to be available by multiple different pages. Up to now, I had passed put those arrays in sessions, which I dont think is a good idea. What can I do? What about globalizing the arrays? Will that work? Any suggestions welcome. Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/56842-using-global-arrays/ Share on other sites More sharing options...
chigley Posted June 23, 2007 Share Posted June 23, 2007 $_SESSION is your best bet, why do you say it is a bad idea? Quote Link to comment https://forums.phpfreaks.com/topic/56842-using-global-arrays/#findComment-280853 Share on other sites More sharing options...
mkosmosports Posted June 23, 2007 Author Share Posted June 23, 2007 Because that information is not specific to the user, its vital site data, and I dont want to get into the disadvantages of sessions, like for example when cookies are disabled. Quote Link to comment https://forums.phpfreaks.com/topic/56842-using-global-arrays/#findComment-280857 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.