django-sessions
Huge Django Session table, normal behaviour or bug?
Perhaps this is completely normal behaviour, but I feel like the django_session table is much larger than it should have to be.[详细]
2023-01-30 08:57 分类:问答Django: retrieve session or cookies in middleware
can i get the current session or cookie inside a middleware? I tried but I got: \'WSGIRequest\' 开发者_运维问答object has no attribute \'session\'[详细]
2023-01-26 14:54 分类:问答How to deal with temporary storage of uploaded files
In my django application I have a multi step registration, with few co开发者_高级运维nditional parameters. Because of this I figured out to store data from forms in session. Unfortunatelly sessions se[详细]
2023-01-15 22:49 分类:问答AttributeError: 'WSGIRequest' object has no attribute 'session'
I keep getting this error at random times and whenever I touch the django.wsgi file, it gets fixed only to happen again after a few hours. I\'m lost as to what to do. my middleware_classes is as follo[详细]
2023-01-07 20:05 分类:问答How to share a session with a php application
I have a django blog project and a ch开发者_运维技巧at in PHP. I need to share the id of the user logged in django ( request.user.id ) with the chat in PHP.[详细]
2023-01-02 04:07 分类:问答access django session from a decorator
I have a decorator that I use for my views @valid_session from django.http import Http404 def valid_session(the_func):[详细]
2022-12-26 02:49 分类:问答How do I properly unit test a Django session?
The behavior of Django sessions changes between \"standard\" views code and test code, making it unclear how test code is written for sessions. Googling this yields two relevant discussions about this[详细]
2022-12-25 08:36 分类:问答Logging users out of a Django site after N minutes of inactivity
I\'m working on a website that requires u开发者_如何学JAVAs to log a user out after N minutes of inactivity. Are there any best practices for this using Django? Take a look at the session middleware a[详细]
2022-12-24 07:07 分类:问答Problem with authentication from different domains using Django sessions
I am developing a bookmarklet which essentially adds a toolbar to a web page user is currently looking at. To use it, user needs to be logged in.[详细]
2022-12-23 10:24 分类:问答Django, relying on sessions
Less or more I am building my site heavly on sessions(especially for redirectin开发者_运维知识库g users etc), I am curious if this a dangerous practice. What would be the rough percentage of users who[详细]
2022-12-21 16:33 分类:问答