Jump to content

Losing session data


Harley1979

Recommended Posts

I've been having some trouble today...

 

What I have basicaly established for myself is that when setting a session variable, and then redirecting or going to another page, that the data is lost.

 

How can I stop this from happening? I'm sure session data would not normally disappear or would it?

 

Any help would be great

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/51231-losing-session-data/
Share on other sites

Yeah,

 

I've used session_start(); and also session_write_close(); after setting the sessions values.

 

It's such a mystery to me, is there something in php.ini I have to alter before it will allow me to use sessions or something? Although I think that sort of stuff is set up as standard with my hosting comany.

Link to comment
https://forums.phpfreaks.com/topic/51231-losing-session-data/#findComment-252349
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.