Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
4.20/5 (2 votes)
See more:
I have a 2 web application. So if user login then he will be redirected to webapp1 and will be redirected to home.aspx.

On webapp1 home.aspx, i have to call webapp2 home.aspx in backgorund so that user session will be started there also. User will not be get to know that he is redirected to webapp2 home.aspx.

How to do that?

One of my colleague told me that it will be possible using batch file. Just mention URL there and execute it using Process.

Process process = new Process();
process.StartInfo.FileName = ConfigurationManager.AppSettings["BatchFilePath"];
process.StartInfo.UseShellExecute = false;
process.StartInfo.RedirectStandardInput = true;
process.StartInfo.RedirectStandardOutput = true;

process.StartInfo.CreateNoWindow = true;

process.Start();
//process.WaitForExit();
process.Close();


But still it is opening a new window for the webapp2 home.aspx.

Any suggestions will be appreciated.
Posted

This should be what you are looking for :Single sign on[^]

Regards..
 
Share this answer
 
Comments
Sandesh M Patil 21-Oct-14 13:17pm    
This is ok. I am already using onelogin.com SSO technology for that. The problem is that there are two applications we need to handle one app is in asp.net while other is in DMS(document management system) i.e. Spring CM to which we dont have code access to maintain session states and cookies

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900