Navigate back in Safari onBeforeunload event getting error

Hello Community,


Environment: Angular 8 + Typescript


I have a problem when I press back button in safari. onBeforeunload event I am requesting server call to do some operation(close session). For server request I am using windows authentication + kerberos authentication.


I am using sendBecaon for server call. Its working in Chrome, Firefox, Edge and opera browsers. But not working in Safari browser.


Getting 401 error.

I have tried with sendBeacon and normal server call.


Both cases I am getting error.


How can I async server call in onBeforeunload event ?


How Can I solve problem ?


Regards

Naresh


Posted on Dec 9, 2020 1:04 AM

Reply

There are no replies.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Navigate back in Safari onBeforeunload event getting error

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.