Jump to content

[SOLVED] Can I pass an object to a session?


Cep

Recommended Posts

Hello,

 

I was just wondering if it is possible to instantiate an object and then pass that object to a session?

 

The reason I ask is because I instantiate an object on my script and then need too (at some point in my script) redirect back on itself (kind of like a reload). Doing this of course means I lose my object and instantiate a new one but I was wondering if I could pass it back in a session?

 

Cheers

 

Link to comment
https://forums.phpfreaks.com/topic/85008-solved-can-i-pass-an-object-to-a-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.