S
S
Sergey Grigorov2017-12-23 13:12:29
PHP
Sergey Grigorov, 2017-12-23 13:12:29

How to find the browser ID?

I think most of you have worked with push notifications from the web environment.
There is a question - is it possible to somehow find out the Browser ID that is used to send notifications using "your" (preferably from PHP) methods?
Because registering a Push channel just for this is stupid, but you only need this same Browser ID.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maksim Fedorov, 2017-12-23
@Maksclub

Do you mean user agent?
$_SERVER["HTTP_USER_AGENT"];

D
Dimonchik, 2017-12-23
@dimonchik2013

you don’t recognize
it yourself you generate it
like this https://habrahabr.ru/company/oleg-bunin/blog/321294/
or just user agent*IP*time

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question