-
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RedirectResponse with Session failed #88
Comments
Thank you for this and let me investigate. I find this quite odd actually. |
Hello, I have a problem when a session is active.
With this basic exemple i can access to login, send my form and be redirect to my home page, that's work fine :
At this moment my session is always empty :
But now if add value to session in my POST I'm having problems :
Now if i make a POST to login route the redirect failed :
The traceback of error :
If i force to go on my home route now i got a plain/text response with my template :
But I receive the session data perfectly :
if I delete my session everything returns to normal and the pages load correctly again.
PS : the session middleware has been installed as follows:
I'd also like to make a small suggestion concerning from
lilya.routing import Path
, pathlib being a commonly used library and having it important I had problems when I launched my application, Lilya'sPath
import conflicted with myPath
import frompathlib
and I find this rather misleading, perhaps it would be wise to rename Path to Router or PathRoute to avoid confusion.Best regards
The text was updated successfully, but these errors were encountered: