0

I tried sharing same session between two asp.net applications across subdomains from the link. Its working fine. Is there any way to share same session between two different domains / different server.
I need to share same session between two web applications so that the session time out in one application should expire the second application.
Any suggestions.

kk1076
  • 1,740
  • 13
  • 45
  • 76
  • are you talking about different domains on the web (i.e www.abc.com and www.xyz.com), or different domains in active directory? – BlackICE Jan 11 '13 at 12:18
  • duplicate: http://stackoverflow.com/questions/2868316/sharing-sessions-across-applications-using-the-asp-net-session-state-service – daryal Jan 11 '13 at 12:20
  • @daryal the one you linked to is talking about sharing session state between different web applications on the same server, this one is sharing across domains on different servers – BlackICE Jan 11 '13 at 12:27
  • Does this answer your question: http://stackoverflow.com/questions/2402785/sharing-session-state-between-2-asp-net-applications-using-sql-server – Matt Whetton Jan 11 '13 at 13:05
  • @David yes. two different websites hosted in different servers. – kk1076 Jan 14 '13 at 10:34
  • @MattWhetton hi. in that link, they shared session data using cookies in the same domain only. – kk1076 Jan 14 '13 at 10:36
  • Use the database. Sessions won't work across different domains. – Arun Banik Jan 11 '13 at 12:17

0 Answers0