Answer the question
In order to leave comments, you need to log in
Storing unauthorized user data in Yii. How?
Hello! It is necessary to store this kind of data about the user (not authorized):
1) The last visited page on the site, before going to the login page, in order to return it later.
2) If the user clicked to buy a product while not being authorized, so that after authorization they would be able to complete the purchase (ie return it to the payment page)
Where to store this kind of information, or how to implement it in a more privileged way?
Answer the question
In order to leave comments, you need to log in
Information of unauthorized use can be stored in cookies. Or in session.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question