Need Help

D

Dinesh Upare

We are running in weird problem.

We have web application1 and web application2 on same
server and web application3 on other server.
1 and 2 has form based authentication and has been
configured with site server.

We are using WebRequest class from application1 to access
pages of other applications(2 and 3).

I could access Application3, when i set the
credentials,username and password.

But I can not access pages of the application 2 with this
usernaem and password as it has forms based authentication.

We are quite stuck, not able to understand what is
happening .I even tried with setting
DefaultCrdentialsCache but it also did not work.

But the strange thing, When we type a url of application2
in Internet Exporer, it works without a problem.This is
because the application1 is already authenticated by form
based authentication so it persists the credentials and
passes them to application2 which is also form based
authentication.

Can any body help me, how to authenticate a form based
application page using WebRequest class, and how to pass
the credentials of the existing application to other
application.

Thanks

Dinesh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top