Skip to main content
17-Peridot
May 11, 2017
Question

Session parameter not persisting data

  • May 11, 2017
  • 1 reply
  • 4621 views

Hi,

I'm trying to bind "Selected State" i.e. "true" of a Checkbox to a session parameter and want to retrieve it on my next visit on the same Mashup but getting ​null ​from parameter.

On first load, State of checkbox is passed to session parameter and next visit,it will take that value from session parameter and pass to Validator to navigate but unfortunately, Validator variable "out" is recieving nothing.


Note: Session parameter is persisted while creation.

Below are is the example:

1 reply

5-Regular Member
May 11, 2017

Hi Tarun Nayyar​,

Which ThingWorx version you are on?

Also, please confirm that by Session parameter is persisted while creation. you mean that you had selected Persisted checkbox while creating property in GlobalSessionParameters?

TanmeyTWX17-PeridotAuthor
17-Peridot
May 11, 2017

Its TWX 7.4.

Yes I persisted it as required.

TanmeyTWX17-PeridotAuthor
17-Peridot
May 11, 2017

Hi Ankit,

Is it a bug in 7.4 TWX version for Checkbox state binding to session parameter?

Can you test it on your end too and let me know the results.

Then,I'll figure out some other way to perform my mashup functionality.

Thanks,

Tarun

Aanjan RaviPai Chung