c# - Is there a way to persist authentication from one web app to another, nested web app in ASP.NET? -
so company has asp.net web app, targeting .net 3.5. tasked building ticketing system them. don't need use resources of company app, except authentication. target .net 4.0 , use 4.0 goodies entity framework , mvc 3.0. if create application targeting .net 4 nested within main web app in iis, there way persist authentication not require different session within 4.0 web app?
please let me know if being unclear.
thank you.
if use membership authentication can share sessions between different web applications provided following true:
all of them share same machine key - can set
machinekey
explicitly in each web.config same value.you using same authentication cookie name (i.e.
.aspxauth
default)
there might other ways, how got work.
also see article reference: forms authentication across applications
Comments
Post a Comment