Day 084 - Project 84 : Create users, log in

If you have any questions, comments or issues with this project please post them here!

Hi,

I finished this project, here’s my repl: https://replit.com/@masterneme/Day84100Days

I used the default example for the challenge which redirects to different gifs depending on success and failure logging in.

I wanted a customized greeting while keeping the redirects, therefore, in line 25 I pass the full name so in lines 51-53 I can add it to the page.

I want to know if there’s a more elegant way to do this so the name doesn’t show up in the URL.

1 Like

Hi @masterneme thanks for sharing your project and well done on your progress so far in
#100-days-of-code

Have you investigated session variables to store the username? Session data in Python Flask - Python Tutorial has some more information on this.

Yeah I learned about sessions the next day :smiley:

So I’ll leave the project as it is for future reference, thanks.

1 Like