Scriptcase Session

Hello Everyone,
I am currently using Scriptcase version 9.6.018. We have a project that has more than 100 applications. We have couple of hundred users online. Each user has to go through a login page and after simple authentication can access rest of the applications. These applications shares multiple global variables. The issue is when they login to the application on different tabs (same browser), these variables are getting mixed up. When I checked the Session ID, both tabs has the same session id. I am trying to create a seprate session after the user is logged in but scriptcase says session has already started. Please any help? Not using global variable is not an option, we have too many of them.

If I understand your problem I assume
Software A is started on WEB-Server xxx with domain yyy
Software B is started on WEB-Server xxx with domain yyy

The memory between the different TABS from A and B is mixed …
Correct ?

I faced the same problem.
It’s not a problem of SC, it’s a problem of memory handling from the browser.
If both applications run on the same server/domain … the browser uses the same memory with unexpected results.

There is no way to avoid this … So, I don’t allow the user to do this.
If the user wants to start software B he gets a message, that he cannot do this, because A is running. He has to close the browser and I never allow him to use both software in parallel.

If anybody has a solution … he has my ear …

One solution is : use Chrome for software A und Firefox for software B and everything is working. But no user will remember to do this …

Best regards
Uwe

1 Like

This is exactly the situation but I am talking about the global variable [Global_var]. Correct me if I am wrong, I don’t think this is stored on the browser’s memory. Is there a way to assign different session for Software A and Software B after the user is logged in on the same browser? At least then I can use session variables to pass the parameters instead of global. When I try to start a session on a Scriptcase, it gives “Session has already started” error.

Why do you think, that Global_var are not stored in the memory of the browser ??
I think that’s the case. Whatever you do … the browser will make no difference between the two applications on the same Server/Domain and the problem will still remain.

I have two different application with SC on the same production server and I had always the same problem if the enduser uses both application at the same time and I found no solution. You cannot influence the behavior of the browser. It’s really not a problem of SC … other software beyond have the same problem.

Cheers
Uwe