Shivamyadav's avatar

Any way to pass the browser's session storage data to the middleware?

Any way to pass the browser's session storage data to the middleware without the query params?

As I am working with the multiple test active session prevention for the multiple tabs, I could not get the active tab ID to the midddeware?

Any idea how can i get or pass, as query params is the option but user can manually copy and use it.

I am using the reverb to prevent it and send the echo channel to listen it handle it.

0 likes
1 reply
martinbean's avatar

@shivamyadav No. That data lives in the browser. It’s client-side.

If any website could just automatically gobble browser session storage then that would be a massive security risk and attack vector.

You need to come up with a different method to achieve what you’re trying to achieve.

Please or to participate in this conversation.