[Answered ]-How do i keep track of user info without having them log in?

3👍

Use Cookies and store the unique id in cookies and retrieve it everytime to identify the user.

You can use Django’s session framework. Example code:

Setting a cookie:

def view(request):
  ...
  ...
  response.set_cookie( 'user_id', user_id )

Retrieving a cookie:

def view(request):
  ...
  if request.COOKIES.has_key( 'user_id' ):
    value = request.COOKIES[ 'user_id' ]
👤avi

-1👍

Depending on the time a user can take between the first and the second part,
you can use session variables in PHP to generate an id and store it in the Database.
you can find the configuration for the max time of this variable once it’s set in the php.ini file.
by checking the session variable you know if the user has completed the first form and in case it’s false redirect to it.
cheers

Leave a comment