Jump to content

Is it good to use $_Session['']?


JongMin

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.