V
V
Vadim Timoshenko2016-03-13 12:19:31
PHP
Vadim Timoshenko, 2016-03-13 12:19:31

How to make a separate login page for the site?

The task is this:
When visiting the site for the first time, the visitor should see a page with only a content filter.
After that, this page will no longer be the main one. The visitor will no longer see it.
How to organize? Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
U
Uzair Izha, 2016-03-13
@UZEIR

Use the session

S
ssrdop, 2016-04-21
@ssrdop

Better use cookies, sessions will slow down the work. That is, when you enter the site, you check if there is a cookie, if not, then show the page with the content filter, and if there is a cookie, then the user has already been and can be redirected anywhere you want.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question