cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Session parameter not persisting data

Amethyst

Session parameter not persisting data

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:

16 REPLIES 16

Re: Session parameter not persisting data

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?

Re: Session parameter not persisting data

Its TWX 7.4.

Yes I persisted it as required.

Re: Session parameter not persisting data

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

Re: Session parameter not persisting data

Tarun Nayyar​,

I will test this out and will update you.

Re: Session parameter not persisting data

Thank you Ankit.

I'll wait for your reply.

Re: Session parameter not persisting data

Hi Tarun Nayyar​,

I have tested this scenario and the behavior is same for ThingWorx 7.4 and ThingWorx 7.1.9.

I will try to analyze more on Monday.

Re: Session parameter not persisting data

Hi Ankit,

Can you share your tested entities here?

I'll try to compare it with mine one,if its working for you.

Re: Session parameter not persisting data

Hi Tarun Nayyar​,

I meant I was able to reproduce your issue. I can share the entities on Monday from office.

Re: Session parameter not persisting data

Hi Ankit,

Any sink-up on it?