2 WebClient Sessions on Same Computer

Can you run 2 separate webclient sessions/solutions on the same computer?

I’m attempting to by having the user click on button which is running in session A. (Solution name: “Help”)

The new session opens up the Solution named “Store,” but the original session (Solution “Help”) claims that it has expired when the new session / solution is launched.

I open the 2nd solution (“Store”) via an application.showURL call.

example:

application.showURL(thyURL,'_blank', 'height=700,width=1000,status=no,toolbar=no,menubar=no,location=no')

Thanks.

No, that’s not actually possible, you can have one session per browser.
You should consider merging the 2 solutions as modules in a main solution and adjust your logic, this by the way will allow you to not use two licenses but just one per user.

That’s a big bummer. We would have been set! :)

Our problem is we have a mutli-tenant solution and we happen to also be one of the tenants. So, this means we use our solution to track and sell to our customers (who are also using our solution).

So, in a mult-tenant solution, we filter out all records but that of the customer’s.

What we’re trying to do is build self-service solutions which allow the user to interact with their invoices and pay them via a web-client session OR within their solution. Our invoice records for them are actually records that belong to our tenant account.

So basically, we’re trying to let them access records that have been filtered.

Perhaps there’s an easier way? Maybe doing direct SQL?

Thanks.

Here is how I do this:

  • Add something in your tenant table to denote your tenant is an admin (like is_admin=1)
  • Add a button somewhere on your screen to toggle between your tenant and the admin. The code behind this is just removing all the table filters or adding in the table filters (depending if you are switching back to a normal user).
  • Add something so that button will show/hide depending on if you are logged in with the admin tenant