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: 138
Joined: Thu Aug 23, 2012 6:45 am

Re: Session variables

Post by stevec » Fri Jul 26, 2019 10:06 am

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: 130
Joined: Wed Jan 11, 2017 3:26 pm

Re: Session variables

Post by jasonzhou » Mon Jul 29, 2019 11:08 am

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: 138
Joined: Thu Aug 23, 2012 6:45 am

Re: Session variables

Post by stevec » Mon Jul 29, 2019 10:46 pm

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

jasonzhou
Posts: 130
Joined: Wed Jan 11, 2017 3:26 pm

Re: Session variables

Post by jasonzhou » Tue Jul 30, 2019 10:55 am

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: 138
Joined: Thu Aug 23, 2012 6:45 am

Re: Session variables

Post by stevec » Wed Jul 31, 2019 7:22 am

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: 130
Joined: Wed Jan 11, 2017 3:26 pm

Re: Session variables

Post by jasonzhou » Wed Jul 31, 2019 10:17 am

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

stevec
Posts: 138
Joined: Thu Aug 23, 2012 6:45 am

Re: Session variables

Post by stevec » Thu Aug 01, 2019 12: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: 130
Joined: Wed Jan 11, 2017 3:26 pm

Re: Session variables

Post by jasonzhou » Fri Aug 02, 2019 9:52 am

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: 138
Joined: Thu Aug 23, 2012 6:45 am

Re: Session variables

Post by stevec » Tue Aug 06, 2019 3:51 am

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: 130
Joined: Wed Jan 11, 2017 3:26 pm

Re: Session variables

Post by jasonzhou » Wed Aug 07, 2019 9:39 am

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