Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

Session end

Avatar

Level 3
How could I have the shared files, whiteboard and other
shared data removed when the session ends? At present when new
guests enter a room they also see the data from the previous guests
who have all logged out the previous day.
1 Accepted Solution

Avatar

Correct answer by
Level 3
I found the answer.



I was using the file upload example. I added
nodeConfig.userDependentItems = true; to when it creates a new
group. I also set the nodeConfig.sessionDependentItems =
true;

View solution in original post

2 Replies

Avatar

Employee
I think there is a way in the node configuration to specify
that some nodes are transient and don't get persisted (and I
thought the default for files, whiteboard and chat was that they
don't persist)



I am wondering if the problem is that the room doesn't really
shutdown even after all your users have left (normally the room
shutdown a few minutes after the last user has left - not
immediately because users may have been just temporary disconnected
because of a network glitch or something).



The problem is that sometimes FMS doesn't report that all the
users have left and the room never shut down. If you send us your
room URL we can at least verify if this is the case.

Avatar

Correct answer by
Level 3
I found the answer.



I was using the file upload example. I added
nodeConfig.userDependentItems = true; to when it creates a new
group. I also set the nodeConfig.sessionDependentItems =
true;