Click here to Skip to main content
13,407,199 members (66,861 online)
Rate this:
 
Please Sign up or sign in to vote.
See more:
Original Question

How to link to a website?
If I give the username and password that go to the website?

Interpreted Assumption

If I already know the UserName and Password to a website, how can I login to a website, without showing the login page to the end user from my web application? i.e. Single Sign On
Posted 28-Oct-10 22:35pm
Updated 4-Nov-10 5:20am
v4
Comments
Dalek Dave 29-Oct-10 4:30am
   
Edited for 'Shouty' Caps lock problem, but the question remains a mystery!
Rajesh Puli 29-Oct-10 4:45am
   
Question not Clear
Be Yourself 30-Oct-10 0:02am
   
Do U want to design a custom application or use an existing website.
If U want to design a custom application then It's quite easy.
Just Use two textboxes for username and password and a button
use the button click event to connect to website.

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

I think you are trying to login to a website from your page, without showing login page of the website.

You can do this by submitting the form data using POST method.

you will have to open the login page of the 3rd party website using 'View Source' option in Internet Explorer, to see the HTML code for the page.

Now grab the From name, and User Name / Password field text box name from there.

and then pass all these 3 values using the POST method.

You can find an example on who to use it here.[^]

:)
  Permalink  

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy |
Web01-2016 | 2.8.180212.1 | Last Updated 4 Nov 2010
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100