0

How to oblige users to input the usernames

I make a login page in my website, i don't know how to oblige users to login before visiting my home page

23rd Jan 2017, 5:27 PM
Mc ubenhaman
Mc ubenhaman - avatar
2 Respuestas
+ 5
if (document.cookie.name == null) { window.open(……); window.close(); } (search google)
23rd Jan 2017, 5:39 PM
Valen.H. ~
Valen.H. ~ - avatar
0
thanks
23rd Jan 2017, 5:44 PM
Mc ubenhaman
Mc ubenhaman - avatar