Help login() session always expire on new migrated apache server

12 visualizações
Pular para a primeira mensagem não lida

dk.danny...@gmail.com

não lida,
27 de nov. de 2017, 22:43:4927/11/2017
para 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

谢磊

não lida,
28 de nov. de 2017, 07:27:0228/11/2017
para Django users

what's your session engine? 
在 2017年11月28日星期二 UTC+8上午11:43:49,dk.danny...@gmail.com写道:

Jason

não lida,
28 de nov. de 2017, 07:41:4128/11/2017
para 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?
Responder a todos
Responder ao autor
Encaminhar
0 nova mensagem