Is it possible to have different context or session for each browser tab as it was in vwg with vwginstance keyword?
Yes, there are two (maybe more) ways:
Any chance of adding an option for when the Default.json file contains:
“cookieless” : true
To say something like:
“embeddSID” : true
So that the sid=GUID is contain in the page instead of the URL ???
It would make for a lot cleaner URL’s and make it easier when additional parameters are used on the URL.
Yes, my bad. It was like that but it was changed. Now the new set of arguments is updated instead of reloading a new session. This lets your code process different arguments in the URL without recreating the session. Changing the URL causes a reload anyway. You can get notified of a refresh or change of arguments by attaching to:
Application.ApplicationRefresh += ...
The arguments in the URL are available using this collection:
If you use “sid” and “cookieless” is false when you hit refresh Wisej will always start a new session since sid is invalid. In fact that is a “trick” to use when debugging to force the start of a new session. I add “?sid=new”.
I’ve tested the ways you explained,
“cookieless sessions” option runs very well as you explained.
On the other hand, may the first option run a bit different? If I use url argument name “sid” with any value (sid=1, sid=anyvalue) it’s ok, every tab starts a new context/session from the beginning as the first option. But if I use random argument name and value (abc=1, xyz=anyvalue), new tabs starts with previous tab’s state.