I need to know the visitor's first visit to a page after every new login into SharePoint.
Is there a way for me to get a "SessionId" or any session-unique variable in SharePoint online using javascript, where the variable will change or reset on every current user login?
I notice that a secured cookie name, FedAuth has a session-unique value but you cannot retrieve the value with javascript alone in many browsers.