none
Session Issue: Multiple Domain Extensions (.com and .tv) with a single web.config authentication:forms element RRS feed

  • Question

  • I'm maintaining an application that must take two different domains each having a different Domain Extension (example: .com & .tv). My web.config looks sometime like this.

    <authentication mode="Forms"> <forms name=".myAuth" domain=".mysite.com" loginUrl="signin.aspx" timeout="888" requireSSL="false" /> </authentication>

    The issue I'm facing is my sign-in process is only creating a session when signing in through mysite.com. If I were to sign-in through mysite.tv then no session is created. I've tried removing the domain property altogether in attempt to keep the process more generic, but that doesn't seem to help.

    So my question is, how can I have mysite.com and mysite.tv both use the same loginUrl and create sessions? 

    Thank you

    <style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Helvetica Neue'; color: #454545} </style><style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.5px Helvetica; color: #b4261a; background-color: #000000} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 9.5px Helvetica; color: #0433ff; background-color: #000000} span.s1 {color: #0433ff} span.s2 {color: #ff2600} span.s3 {color: #000000} span.s4 {color: #b4261a} </style>
    • Moved by Fei Hu Monday, March 19, 2018 5:52 AM Moved From C#
    Friday, March 16, 2018 8:01 PM

All replies