Click here to Skip to main content
15,920,828 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to redirect to other site from my site and user should be auto login? I don't have API for that site. can i do this???????
Please give me some idea.
Thanks in Advance.
Posted
Comments
Harshad Kathiriya 4-Sep-13 2:27am    
Other site is developed by u or some third party ?
supriya29 4-Sep-13 5:12am    
third party
ridoy 4-Sep-13 2:56am    
not a question.
supriya29 4-Sep-13 5:12am    
??? not getting
Harshad Kathiriya 4-Sep-13 7:03am    
third party site can't give u the rights for direct login. U need to use api for that site. Becoz of security reason.

This happens using passport authentication option in asp.net


Go through the links you will get an idea


ASP.NET authentication and authorization[^]

http://msdn.microsoft.com/en-us/library/b0ctef6w%28v=vs.85%29.aspx[^]
 
Share this answer
 
Comments
supriya29 5-Sep-13 3:30am    
Thanks a lot. i got it. But it is helpful in my scenario. my scenario is like open your gmail, facebook, or any account, on click of button in my ASP.net application


System.Diagnostics.Process.Start("http://facebook.com/");
int flag = 1;
while (flag == 1)
{
SendKeys.SendWait("abc@gmail.com");
SendKeys.SendWait("{TAB}");
SendKeys.SendWait("abc");
SendKeys.SendWait("{TAB}");
SendKeys.SendWait("{ENTER}");

flag = flag + 1;
}


i have this code. but its not working. :(
Hi All,
I have used AutoIt scripting to do this. its working fine.

Need to install AutoIt. and write scripts. by using this u can automate anything. its simply working like Win32SDK

Thanks
All. :)
 
Share this answer
 
guys... i have do it using AutoIt Best way....:):)
 
Share this answer
 

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