HELP: Sessions with persistent custom class object - Joomla! Forum - community, help and support


hi all,

i'm getting joomla and, hey, it's wonderful product!!

i'm developing shop cart , wish have custom class object (the cart) stored in session. using setuserstate / getuserstate this.

the problem experiencing after first page has been served session being retrieved before cart definition loaded. therefore ending *incomplete* object gives error message when properties accessed.

can please advise me how correctly load custom class prior session being started - i'm pulling hair out!!

many thanks,

paul.

you try loading class plugin triggered onafterintiailize() event.

rob





Comments

Popular posts from this blog

Error compiling for board Arduino/Genuino Uno.

Installation database is corrupt

esp8266 (nodemcu 0.9) client.write très lent ???