Session variables
Session variables
are they stored by schema or across all schemas?
Curious if I have a variable for example for "MobileApp" and log in to app = "A" and it gets set. Then without closing and open another schema for "B" do I have 1 variable now "B" or 2 variables "A" and "B"?
Curious if I have a variable for example for "MobileApp" and log in to app = "A" and it gets set. Then without closing and open another schema for "B" do I have 1 variable now "B" or 2 variables "A" and "B"?
Re: Session variables
Does the "Session variables" mean /SysStates or /SharedStates? Both of them are stored by schema.
Thanks.
Thanks.
Re: Session variables
Sharedstates.
Is there a way the user can clear them out somehow on iphone?
Is there a way the user can clear them out somehow on iphone?
Re: Session variables
User can't clear it. You need to programmatically clear them. Thanks.
Re: Session variables
Somehow it appears a (or all) session variable is getting cleared or corrupted.
How can I close the app programatically when this occurs?
How can I close the app programatically when this occurs?
Re: Session variables
Unfortunately, there is no way to programatically close the app. Can you please have a look is it possible that server program cleared the session variable?
Thanks
Thanks
Re: Session variables
No it is not possible. I am adding code to send me an email with as much info as I can grab about device and key session variables. And then route back to login. Problem is that I have 3 apps and if the app session variable is corrupt then I do not know what login to route them back to.
Re: Session variables
Does this happen randomly? Is it easy to reproduce this issue?
Re: Session variables
No I cannot reproduce, seeing it happen occasionally on a customers box that is why I put in an error trap and sending myself email with info to help debug.
Re: Session variables
Thanks for letting us know this. We will do some test with Sharedstates see if we can reproduce the issue first. If next time you can reproduce it and have client log, please send it to us via LANSA support.