How do I discover the client ID in web notifications (webnotification)?

Asked

Viewed 239 times

1

Using the datatype webnotification have the method notifyclient who needs a ID of the Client Browser.

How do I find out what this is ID to make a specific notification to a current customer page (logged in) ?

Or I can use the ID of the client’s session ?

1 answer

1

You have to use the Webnotification object Clientid property .

For more information you can check this topic :

Webnotifications

// Pega o ID do client Atual
    &Clientid = &webnotification.ClientId

    // Notifica apenas o Client(Browser atual)
    &webnotification.NotifyClient(&Clientid,&NotificationInfo)
  • POPUPS windows this variable &Clientid has to be passed via parameter from the previous window (the one that called the popup)

Browser other questions tagged

You are not signed in. Login or sign up in order to post.