V
V
ViktorGuerro2018-09-15 23:39:42
User identification
ViktorGuerro, 2018-09-15 23:39:42

How to make access to the site through authorization?

I can make an authorization form on the main page ( https://site.ru). But I need to ensure that when the left user comes in, he is thrown for authorization ( https://login.site.ru), and thus he does not get access to the site's information

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
ViktorGuerro, 2018-09-15
@ViktorGuerro

I decided everything by learning about subdomains (subdomains)

D
Dmitry Gadzhiev, 2018-09-15
@gds1

use cookies. if the user has them, then he is immediately sent to the main site. if not, go to the authorization and registration page.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question