Python web application:
In asp, I can do a simple response.redirect('www.google.com') how to do it in PYTHON?
I have a Login Page submits to .py page for database connection. After successful login check in the .py page, I would like the .py page to redirect it to success.html page.
Yes, I am not using any frameworks. I have 3 different pages. 1)Login Page 2)Check.py 3)Sucess.html
Login Page has a form username and password
Check page connects to DB and checks if the user exists
Success page
In Check.py, On success login check I would like the page to redirect and go to success page.
I am not sure how to?
In asp, I can do a simple response.redirect('www.google.com') how to do it in PYTHON?
I have a Login Page submits to .py page for database connection. After successful login check in the .py page, I would like the .py page to redirect it to success.html page.
Yes, I am not using any frameworks. I have 3 different pages. 1)Login Page 2)Check.py 3)Sucess.html
Login Page has a form username and password
Check page connects to DB and checks if the user exists
Success page
In Check.py, On success login check I would like the page to redirect and go to success page.
I am not sure how to?