Re: [Cppcms-users] load parameters and data initialization
Brought to you by:
artyom-beilis
From: mawan s. <ma...@gm...> - 2015-11-02 11:38:09
|
It is similar pages variable in blog example. Please advice for best way load dynamic variables. Thanks . On Mon, Nov 2, 2015 at 6:26 PM, mawan sugiyanto <ma...@gm...> wrote: > Dear All > > I want to create template menus. I create menu variable ( array),ini > master content variable. I initialize menu data at application::init() > > > void root_master::init() > { > > ///PREPARE MAIN MENU > prepare_menu(); > > > I build menu from database, and store in content variable. Why variable is > not reset after new request? In my case , in another request , there are > accumulation menu item. > > request 1 = menu_a, menu_b > request 2 = menu_a, menu_b, menu_a, menu_b > > should i use clear procedur to reset variable like database session > variable? > > Thankyou > > > Mawan > [newbie] > |