Jump to content
xisto Community
logophobia

Quick Question About Session Vars something I cant find anywhere

Recommended Posts

Can you save stuff like classes and arrays in sessionsvariables?

<{POST_SNAPBACK}>

I don't know,either.

but,here's the information:

session_register

(PHP 4 )

 

session_register -- Register one or more global variables with the current session

Description

bool session_register ( mixed name [, mixed ...])

 

 

session_register() accepts a variable number of arguments, any of which can be either a string holding the name of a variable or an array consisting of variable names or other arrays. For each name, session_register() registers the global variable with that name in the current session.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | 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.