First, i made 4 pages and redirect by dcc.link with different ports.
Second, I success store the data with dcc.Store in the first page (infact, i got an user id and stored)
But I can not get it in the second page. ( i don’t know how to do this!!!)
thanks for your reply!!
The reason I used multiple ports to create pages is that I didn’t want to use dash.page_container. You see, when using dash.page_container, it only displays different pages within the designated area of the first page (the route page), and I didn’t want that. I wanted each page to utilize the entire screen space.
Anyway, I understood that there might be a possible way to achieve this even when using multiple ports, but it might not be easy, right?
Dcc.stores that are going to be shared do not exist until the page is navigated to.
It would be better to add these stores to the app layout and then pass data to it as needed from a callback as necessary. Especially when you navigate to a page.
Just have a callback that triggers from the id of a component on the page and update the data in the store from it.
thanks !
however I did as you said first,
and I tried to apply when the navi open, get the dcc.value… this is one of exam…
my problem is I can not use dcc.Store on the another page.
you can understand my error… nonexistent object in an ‘Input’ == it means my dcc.Store component…
what is that I missed ? how should I solve this ??? ㅠㅠ
ps.
…extra explanation…
I am so serious … I do want to solve this… help me… I am also searching the solution…
I’ve had some problem which i can not get the dcc.Store value(data) with multi page.
the user flow is like this, app.py → login.py → main.py
and I want to transfer the ID info from login.py to main.py.