Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Marcelo Ferreira
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
José Antunes
Hi Marcelo,
Check if your espaces are configured to use the same user provider.
Cheers.
Marcelo Ferreira
Yes both are using the Users as provider.
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.
Marcelo Ferreira
No outdated references and i can't share the espace.
but in general log there is a "no cookie" message
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
Marcelo Ferreira
HI Ivo,
Yes is that what is happening. And then i get a error of role needed.
Best Regards
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?
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
Marcelo Ferreira
Where in the Service Center is that "Debugger" option?
José Antunes
Hi,
Its in Service Studio...
Marcelo Ferreira
I was able to debug using the "Debugger"->"Select Entry eSpace..." and the problem was the OnSessionStart of other espaces.
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
 Loading...