You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! First off, thanks so much for this amazing feature!
I use it in every project I'm involved with. It’s easy to use and implement.
However, I’ve encountered an issue: there are no tips, workarounds, or even mentions regarding the delay when applying the login() function. The login process takes a few seconds.
I'm currently working on a project that requires multiple pages.
As explained, it's necessary to apply the login() method on all these pages to maintain the connection through the cookie. But these few seconds of wait every time we switch pages significantly slow down the process.
Is there a way to speed up this process?
How can I keep the cookie without having to apply login() every time?
To give more detail:
I have several pages where I only apply login() on the home page, then I simply pass on the authentication status.
If this status is False, I redirect the user to the home page.
I use other pages hidden with st_pages, accessible via query_params by clicking on a Linkcolumn from st.data_editor.
When I click, opening the hidden page and logging in takes time. Without logging in, the opening is instantaneous. Since I open and close these pages frequently, the cumulative waiting time becomes a problem...
Any ideas on how to work around these delays?
Thanks! Morgan
The text was updated successfully, but these errors were encountered:
Dear @Morgan-DCL, thank you for reaching out! This is an issue raised by other developers as well and while I don't have a solution just yet, it is definitely something in my backlog and I hope to address it in a timely manner. Another feature that I'm currently working on is an un-rendered login method #149, which will smoothen re-authentication on sub-pages. In the meantime please stay tuned and hopefully, there will be a fix in the near future!
Hi! First off, thanks so much for this amazing feature!
I use it in every project I'm involved with. It’s easy to use and implement.
However, I’ve encountered an issue: there are no tips, workarounds, or even mentions regarding the delay when applying the login() function. The login process takes a few seconds.
I'm currently working on a project that requires multiple pages.
As explained, it's necessary to apply the login() method on all these pages to maintain the connection through the cookie. But these few seconds of wait every time we switch pages significantly slow down the process.
Is there a way to speed up this process?
How can I keep the cookie without having to apply login() every time?
To give more detail:
I have several pages where I only apply login() on the home page, then I simply pass on the authentication status.
If this status is False, I redirect the user to the home page.
I use other pages hidden with st_pages, accessible via query_params by clicking on a Linkcolumn from st.data_editor.
When I click, opening the hidden page and logging in takes time. Without logging in, the opening is instantaneous. Since I open and close these pages frequently, the cumulative waiting time becomes a problem...
Any ideas on how to work around these delays?
Thanks! Morgan
The text was updated successfully, but these errors were encountered: