How to redirect user if they have a cookie javascript

后端 未结 2 1381
醉话见心
醉话见心 2021-01-29 16:33

I need to know how to give the user a cookie when they visit the page for the first time in javascript. Then i need the cookie to expire in 1 hour and it to redirect them if the

2条回答
提交回复
热议问题