Depending on what you're working on
I have a class called register.
the user puts the information(fill out the form and that for is email, phone number, full name, and password)
all of them were put into session
after that, I have another class called verifyOTPcode. I get the session in this class by this code: " request.session.get("mysessionName")
and I have a if condition that checks OTP code is correct or no
if it was corretct, that information put in Table and if it eas incorrect we received an error
now in the first class, csrftooe and sessionid were created, and when I want to recieve sessionid and use it, another session will created, and can not get that sessionid had been created in the first class
My project is with React and DRF
I would be grateful if you can help me