Session variables

Please do not use to report errors- use your regional help desk.
Please mark posts as being for RPG or RDMLX (LANSA) developer.
To subscribe by email, display this forum, scroll to the end and select ‘Subscribe Forum’.
stevec
Posts: 132
Joined: Wed Aug 22, 2012 3:45 pm

Re: Session variables

Post by stevec » Thu Jul 25, 2019 7:06 pm

Well it happened. I coded to send me an email with some details (My session variables are empty below examples mobileapp, customer, user:

Type ANDROID
Client Version 001-000-006-035-000
Server Version 1.00.10
Schema ConCentral
MobileApp
Current Customer 0
CC User

jasonzhou
Posts: 116
Joined: Tue Jan 10, 2017 11:26 pm

Re: Session variables

Post by jasonzhou » Sun Jul 28, 2019 8:08 pm

Thank you again for updating this issue for us.
Do you have any simple demo code? It would be helpful for us to reproduce this problem.

stevec
Posts: 132
Joined: Wed Aug 22, 2012 3:45 pm

Re: Session variables

Post by stevec » Mon Jul 29, 2019 7:46 am

No it is rare. I need some ideas on how session variables getting wacked on Android.

jasonzhou
Posts: 116
Joined: Tue Jan 10, 2017 11:26 pm

Re: Session variables

Post by jasonzhou » Mon Jul 29, 2019 7:55 pm

Sorry, we can't figure out why session variable sometimes got lost. If possible, when next time you come across this issue, can you please send us the verbose client log, this may help us find some information. Thanks.

stevec
Posts: 132
Joined: Wed Aug 22, 2012 3:45 pm

Re: Session variables

Post by stevec » Tue Jul 30, 2019 4:22 pm

no we have no idea who it is happening on.

It just happened 2 more times in last half hour ... again androd device.

Is there anyway for a device to somehow bookmark a page and go directly to it bypassing the schema initial form view/external invocation handler?

jasonzhou
Posts: 116
Joined: Tue Jan 10, 2017 11:26 pm

Re: Session variables

Post by jasonzhou » Tue Jul 30, 2019 7:17 pm

Sorry, the device can't bookmark a specific page. Did the issue happen on same Android device?

stevec
Posts: 132
Joined: Wed Aug 22, 2012 3:45 pm

Re: Session variables

Post by stevec » Wed Jul 31, 2019 9:14 am

We do not know who it is so we do not know if it is same device/user

Is there anyway for a device to bypass the schema initial form view/external invocation handler?

What is the schema property form view to configure the menu structure? We do no have anything specified for that.

jasonzhou
Posts: 116
Joined: Tue Jan 10, 2017 11:26 pm

Re: Session variables

Post by jasonzhou » Thu Aug 01, 2019 6:52 pm

Is there anyway for a device to bypass the schema initial form view/external invocation handler?
You need to remove initial form view in LongRange studio, however, it will impact all devices. There is no way to bypass initial form for a single device.

What is the schema property form view to configure the menu structure? We do no have anything specified for that.
Can you please tell us more details about this, it would be good if you can also show us examples or use cases to help us better understanding it.Apologise for any inconvenience.

In addition, is it ok to let us connect to your server to produce this issue? If it's ok, please contact LANSA support (lansasupport@lansa.com.au)

Thank you again.

stevec
Posts: 132
Joined: Wed Aug 22, 2012 3:45 pm

Re: Session variables

Post by stevec » Mon Aug 05, 2019 12:51 pm

This issue is NOT reproducible. It has happened 3 times in last 3-4 weeks at at customer site and they do not know who it is.

Longrange studio -edit schema properties - general settings = below initial form view is setup menu form view (we have nothing specified, what is it for?)

jasonzhou
Posts: 116
Joined: Tue Jan 10, 2017 11:26 pm

Re: Session variables

Post by jasonzhou » Tue Aug 06, 2019 6:39 pm

You can specify a form view to setup the menu structure, such as add or remove menu items.
There is an example in LongRange demo shows how to add/remove menu items. It's at Programming Examples - Advanced Examples - Controlling Menus
Thanks.

Post Reply