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 ?

2 Answers 2

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?

Sign up to request clarification or add additional context in comments.

Comments

0

guys are discussing similar case if following link

Clickie here

check if this is any good to you:)

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.