1

I have 2 MVC application - one application works as single sign on and I login from this application and create cookie to pass user's credentials into second application - and in second application I get user name from that cookie and setting authentication of that user name from following code

FormsAuthentication.SetAuthCookie(Session["User"].ToString(), true /* createPersistentCookie */);

but I still get Request.IsAuthenticated as False

can any one please help how do I Authenticate my request ?

RBS
  • 3,801
  • 11
  • 35
  • 33

2 Answers2

0

You might wanna look at shared authentication, here is an answered question about it

How can I share .net (C#) based authenticated session between web forms and MVC2 applications?

Community
  • 1
  • 1
Bassam Mehanni
  • 14,796
  • 2
  • 33
  • 41
0

guys are discussing similar case if following link

Clickie here

check if this is any good to you:)

cpoDesign
  • 8,953
  • 13
  • 62
  • 106