anybody able to use the sessionObject successfully...
# suitescript
r
anybody able to use the sessionObject successfully? I tried to set a session key with the following
Copy code
var sessionObj = runtime.getCurrentSession();
				sessionObj.set({name: "formChanged", value: "yes"});
but when I get the value using
Copy code
var sessionObj = runtime.getCurrentSession();
		var formChanged = sessionObj.get({name: "formChanged"});
I get null. I set it in the field change event and get it in the page init event. The field change function changes the custom form of the record, which triggers the page init fucntion again.
r
Thanks