2
Views
11
Comments
Session is lost when using fucntion of other Espace
Question
I have 2 espaces. one with functions and other with web screens. on one of my webscreens expression i use a function of the other espace. when this happen my session is lost in the espace of webscreens. anyone can give me some lights about this?

thx in advance
UserImage.jpg
José Antunes
Hi Marcelo,

Check if your espaces are configured to use the same user provider.

Cheers.
2019-05-22 11-30-09
Marcelo Ferreira
Yes both are using the Users as provider.
UserImage.jpg
José Antunes
Hi,

Check if there are outdated references between espaces (you can check this in service center).
In service center check if any errors are logged about this issue.
If you can, share the espaces so we can have a look...

Cheers.
2019-05-22 11-30-09
Marcelo Ferreira

No outdated references and i can't share the espace.

but in general log there is a "no cookie" message
2020-01-10 13-55-33
Ivo Gonçalves
Hi Marcelo,

When you say that your session is lost, what are the exactly symptoms that you're experiecing? In debug mode you're seeing the session variables losing its values?

Kind regards,
Ivo Gonçalves
2019-05-22 11-30-09
Marcelo Ferreira
HI Ivo,

Yes is that what is happening. And then i get a error of role needed.

Best Regards
2019-05-22 11-30-09
Marcelo Ferreira
For some reason in debug mode i can't step in into the the espace that have a function. even if that espace is also in debug. Anyone have an ideia of what could be happening?
2020-01-10 13-55-33
Ivo Gonçalves
Hi Marcelo,

Sorry for the late response. 
Did you select your entry eSpace to be the one that's referencing your function? On Service Center go to "Debugger"->"Select Entry eSpace..."->Here select the eSpace that is consuming your function.

Edit: I mean Service Studio not Service center

Kind regards,
ivo Gonçalves
2019-05-22 11-30-09
Marcelo Ferreira
Where in the Service Center is that "Debugger" option?
UserImage.jpg
José Antunes
Hi,

Its in Service Studio...
2019-05-22 11-30-09
Marcelo Ferreira
I was able to debug using the "Debugger"->"Select Entry eSpace..." and the problem was the OnSessionStart of other espaces.
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.