unkwntech Posted August 14, 2008 Share Posted August 14, 2008 Is it possible to pass an array as a session variable? I have tried in the pass with no success, but IDK if I was doing something wrong, it was while I was still learning basic PHP. Link to comment https://forums.phpfreaks.com/topic/119738-solved-arrays-as-session-variables/ Share on other sites More sharing options...
akitchin Posted August 14, 2008 Share Posted August 14, 2008 it's perfectly possible to pass arrays to session variables. you were likely screwing something with the sessions themselves up, rather than the data. do you have any code examples? Link to comment https://forums.phpfreaks.com/topic/119738-solved-arrays-as-session-variables/#findComment-616905 Share on other sites More sharing options...
unkwntech Posted August 14, 2008 Author Share Posted August 14, 2008 You're probly correct, it was a few years ago and I'm coding something now, I didn't want to depend on something that doesn't work. Link to comment https://forums.phpfreaks.com/topic/119738-solved-arrays-as-session-variables/#findComment-616907 Share on other sites More sharing options...
akitchin Posted August 14, 2008 Share Posted August 14, 2008 when in doubt, all it takes is 5 minutes of testing. Link to comment https://forums.phpfreaks.com/topic/119738-solved-arrays-as-session-variables/#findComment-616963 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.