Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Only ask to enable notifications once for each user per browser

Bas de KlerkMay 16 2024

Hi,

APEX 23.2

After logging in in my application I would like to check if push notifications are suppported on the used browser. If so I would like to ask the users if they want to enable push notifications. I only want to ask this once per user per browser. I am able to check if it's supported and also if it's currently enabled.

But if the user says NO I don't want to ask it a second time so I need to store the user together with a unique identifier of the browser so I know I don't have to ask it again.

I'm not sure if this last step is possible. I would like to store this in the database but I think the only way currently is to store the user in a cookie ( which is per browser ) so I can check the cookie to see if the user was already asked earlier.

Am I missing something or would the cookie solution be the only solution ( besides other local storage etc ).

Is there a way to store this (user and browsers unique identifier) in the oracle database?

Regards

Bas

This post has been answered by fac586 on May 16 2024
Jump to Answer
Comments
Post Details
Added on May 16 2024
2 comments
323 views