How to share session between two django application?
<p>I have two django application which are on same server on  port <code>80</code> and <code>9002</code>. i.e. urls are <code>www.abc.com</code> and <code>www.abc.com:9002</code>
Both share same database postgresql for authentication. I want to share the share the session data between them so that user logged in to one application can log in automatically in another application.</p>

<p>I read these answers : <a href="https://stackoverflow.com/a/18248640/4349666">Multiple Django apps, shared authentication</a> and <a href="https://stackoverflow.com/a/659606/4349666">How to get distinct Django apps on same subdomain to share session cookie?</a></p>

<p>And did this in my both django application:</p>

<ol>
<li>Used the same secret key in both.</li>
<li><p>Added these lines:</p>

<p>SESSION_ENGINE = 'django.contrib.sessions.backends.signed_cookies'
SESSION_COOKIE_NAME = 'abc'<br>
SESSION_COOKIE_DOMAIN = '.abc.com'</p></li>
</ol>

<p>But still I am unable to achieve the purpose.
How to share the session cookie between two django apps so that i can have shared authentication?</p>