locked
unique ID for each browser tabpage RRS feed

  • Question

  • User2110873642 posted

    How to get a unique ID for each browser tabpage, and not the whole browser.

    Wednesday, July 22, 2020 3:47 PM

All replies

  • User-939850651 posted

    Hi fazioliamboina,

    Are you looking for something similar to what is stated in this article?

    It actually generates a new ID through Guid.NewGuid() and then saves it in the Session.

    I tried his example and got the following results:

    Tab1: ae22cfbb-03d9-4cc1-abfb-0668c3a0a812-TestingSession
    
    Tab2: 97924bfb-21cc-4613-bf9f-207eeb9dc59a-TestingSession
    
    Tab3: e32efaaf-61b9-426e-ae96-f8ae698ad2e1-TestingSession

    ...

    Best regards,

    Xudong Peng

    Thursday, July 23, 2020 7:08 AM