Not able to retain data in session after login

56 views
Skip to first unread message

Anil Kumar

unread,
Aug 16, 2015, 2:55:14 PM8/16/15
to Django users
Hello All,

In my web application, I am making an ajax call to save data in session as user clicks on login button.
After saving form data in session, control passes to login and after successful login, data saved in session is not there. I guess new session is being created after logging in.
How can I retain form data filled by user before logging in.

Dheerendra Rathor

unread,
Aug 16, 2015, 9:17:33 PM8/16/15
to Django users
Make sure you're not using 'dummyCache' in CACHE setting. And also check if you're not accidentally destroying the session. 
Reply all
Reply to author
Forward
0 new messages