Day 46: Storing Data and Mutipage

Dan Esmail - 2/15/2023

Intro

With the project we want to create for our company we'll want to have multiple pages and that comes with some complications. How do we store user data and how do we use multipage? these are hopefully two questions that I will be able to address within this post.

First off when storing information you can store it in a multitude of ways. The first one that caught my attention was dcc.store. This will store the user's session in JSON format. There is also a flash cache function that can be used. Most likely I'll be trying to hold onto the information with the dcc.store function to try and hold onto things like user name.

Next, we have to address the issue of multi-page layouts. Currently, we are using the dcc.location function to get the path of the URL that we are using. This is good but is slapping us with a big old 404 in one section of content. From what I have been reading we can use page register to get around this, but that has yet to be seen.


Day 1

Day 1