Multipage session transfer


#1

Hi

my app has a central dash from which multiple single page sub apps are spawned
though the central dash is authenticated using javascript SDK
and i can do the same for sub apps
but is it possible to pass session to the sub apps that are (window.open )from main menu
programmatically

thanks


#2

Just pass the session_id to the new windows using window.postMessage or a global method in each window that picks up the token?

Those sub apps are using the SDK as well to make calls right?


#3

thanks jason that fits in perfectly
yes those subapps are using sdk’s
what i did was used session storage in html5 to get across session_id
as them apps were on the same domain
the hint of using window.postMessage is awesome if i need to use it for cross domain and not of same origin
thankseversomuch
df rocks
cheers