Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
Could you please provide more information? For instance, what does the code look like, the OS, what version of Edge? The current amount of information won鈥檛 help is in identifying the problem.
// //save token
db.collection('session-cookie').doc(session_id).set({
transaction_token
})
//save token
Cookies.set('cleavepay_check_id', session_id, { path: '*' });
// sessionStorage.setItem('Cleavepay_id', transaction_token);
//get cookie
let cookie = Cookies.get('cleavepay_check_id');
// set state if cookie exist
if (cookie){
setUser(cookie)
setLoading(false)
On Edge on聽Windows 10 | 84.0.522.48
The value given for path is wrong. If you want to have a cookie available on every path, omit it altogether; if you want particular paths, provide a valid path; if you want the current page only, provide undefined.
The value given for
pathis wrong. If you want to have a cookie available on every path, omit it altogether; if you want particular paths, provide a _valid_ path; if you want the current page only, provideundefined.
Thank you so much, it worked
Most helpful comment
The value given for
pathis wrong. If you want to have a cookie available on every path, omit it altogether; if you want particular paths, provide a valid path; if you want the current page only, provideundefined.