|
<< Click to Display Table of Contents >> Navigation: Telegram > 2019 > 07 > 22 > Telegram_2019-07-22T17 |
2019-07-22T17:02:48
Session already locked should be very simple to find. While a session is locked responding to one request, another request to lock it cannot be accomplished. What action causes it?
2019-07-22T17:03:11
There are not many things that can lock a session, so a inspection of call stack should be clear enough
2019-07-22T17:03:56
all right
2019-07-22T17:04:10
can you recreate it when debugging?
2019-07-22T17:05:38
I'll test this demo application and see if I can recrete it
2019-07-22T17:06:02
If so, I'll use the use the OnBackButton event to \fix\ the issue
2019-07-22T17:13:57
So, this seem the right solution. But I have two questions again:
1. Is there an example for OnBackButton, with something like this?
2. What have I to do to open a new tab from my application with a new session?
2019-07-22T17:15:00
1. I'll show you using the same CustomAjaxCall applicaiton you sent me above. I'll modify it and let you know
2019-07-22T17:15:17
wow, thanks
2019-07-22T17:15:52
about 2
2019-07-22T17:16:30
I am thinking something like \ctrl + click\ on a link
2019-07-22T17:16:39
- right-click on server controller
- select the first option on the context menu
- on the first tab. Check the first check box, uncheck the second.
2019-07-22T17:17:01
hum... you want to create a new session from within your session?
2019-07-22T17:19:33
More likely, open a new tab so the user can see more \views\ of the app. For example: \Minerals\ in a tab, and \Vegetables\ in the other
2019-07-22T17:20:48
Do you require the user to log in?
2019-07-22T17:20:52
It's exactly the \ctrl + click\ in a google search for example
2019-07-22T17:21:00
yes
2019-07-22T17:22:00
you can use cookies for user login, but disable it to keep application session. Then you might have 2 independent sessions with the same URL address
2019-07-22T17:22:08
which is a much better experience
2019-07-22T17:22:26
because you actually have 2 \live\ pages and they are independent
2019-07-22T17:22:35
I am a bit confused...
2019-07-22T17:23:10
no problem it is OK
2019-07-22T17:23:45
in previous version you couldn't have 2 sessions with the same URL address, like:
type: link www.yourapp.com
2019-07-22T17:23:50
now you can
2019-07-22T17:24:09
so you can actually open 2 tabs with 2 sessions both using the same URL address
2019-07-22T17:24:32
??
2019-07-22T17:24:44
it is actually possible with gmail for instance
2019-07-22T17:24:48
or hotmail
2019-07-22T17:24:56
yes, exactly
2019-07-22T17:25:27
so you can have 2 separate gmail accounts in 2 different browser tabs and they both work
2019-07-22T17:26:14
likewise you can have 2 different sessions in 2 different browser tabs and they both use the same url (I mean, when the user types type: link www.yourapp.com it starts a new session)
2019-07-22T17:26:46
I think the best way to show you is also creating a sample app which does that
2019-07-22T17:27:04
??
2019-07-22T17:27:42
I think your doubt is the same doubt that other users also have. So a demo will be useful for others as well
2019-07-22T17:28:37
Ok, I console myself not to be the only one...
2019-07-22T17:29:21
For me it's late in Italy, so I think it's time for bed...
2019-07-22T17:29:42
Thank you very much. You are great
2019-07-22T17:29:52
I think I'll have the demo ready within a few hours, hopefully
2019-07-22T17:30:00
?? thanks. My pleasure
2019-07-22T17:31:52
Ok, I could wait till 3am but my wife could think I am not just working ??
2019-07-22T17:32:06
haha
2019-07-22T17:32:08
better not
2019-07-22T17:32:10
??
2019-07-22T17:32:26
??????