Groups
Sign in
Groups
Django users
Conversations
About
Send feedback
Help
Help login() session always expire on new migrated apache server
12 views
Skip to first unread message
dk.danny...@gmail.com
unread,
Nov 27, 2017, 10:43:49 PM
11/27/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
Hello,
I used django login() in some code and it worked now in current server.
Odd enough that in new server (migrated), the login session gone when i check with @login_required. Keep asking to login.
The server have the same apache config with old server. Please help. Thank you
谢磊
unread,
Nov 28, 2017, 7:27:02 AM
11/28/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
what's your session engine?
在 2017年11月28日星期二 UTC+8上午11:43:49,
dk.danny...@gmail.com
写道:
Jason
unread,
Nov 28, 2017, 7:41:41 AM
11/28/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
and is your db on the same machine as the app server? If not, did you include the django_session table when moving the db?
Reply all
Reply to author
Forward
0 new messages