Sunday, 15 February 2015

Wordpress - passing a php object to a new page -



Wordpress - passing a php object to a new page -

i creating custom ordering site built using wordpress. i've created object-oriented plugin store order details. (product specs, contact information, various options, etc) ordering process spans 3 pages. best way me pass object 1 page next browser friendly? json encoding? serialization? $_session variable? wordpress not allow natively, found instructions on how override this.

any suggestions appreciated!

i recommend storing info in different indexes of $_session, info remain persistent across pages.

because aren't implementing feature search, $_session selection because users may switch between ordering products , visiting other pages on site. additionally, method not depend on browser features.

php wordpress plugins

No comments:

Post a Comment