Session Store
hi,
trying sessions store in client context. in day.com gave pieces of code how it, didnt anything. please me how have session store in client context.
thanks in advance,
krishna reddy.
may create store
var storename = "my-store";
var store = cq_analytics.storeregistry.getstore(storename);
if ( !store ) {
store = cq_analytics.persistedjsonstore.registernewinstance(storename, {"test1":"", "test2":"test3"});
}
store.setproperty("test1", "test");
store.setproperty("test2", "blahblah");
more info [1] http://dev.day.com/docs/en/cq/current/developing/client_context_detail.html#creating listener react session store update
[2] http://dev.day.com/docs/en/cq/5-5/widgets-api/index.html
yogesh
More discussions in Archived Spaces
adobe
Comments
Post a Comment