NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: lanmicro on August 08, 2007, 09:27:20 AM
-
Hi Guys,
I am interfacing with another website that has the user sign in. This sign in information must be passed to my site.
How do I form the url that must be passed to me so that it contains the user name and
password?
Where in my site do I examine what has "possibly" been passed and do the login validation stuff?
When attempting an url that looks like this: 127.0.0.1:91?login=junk,password=junk
I get page not found errors.
-
You're on the right track, but the URL from the other site needs to contain the page name. eg
127.0.0.1:91/IndexPage/?login=junk,password=junk
In the login page you can test for the existence of the parameters using
p_web.IfValueExists('login')
cheers
Bruce
-
Hi Bruce,
I figured out how to do it, but I do not get individual entries on the line. When posting:
http://127.0.0.1:91/FramePage?loginname=john,PassPhrase=password
I get john,PassPhrase=password in the value for LoginName. I get nothing in the value for PassPhrase. I am currently working around it by parsing the LoginName string, but I shouldn't have to do that should I?
-
Try this URL:
http://127.0.0.1:91/FramePage?loginname=john&PassPhrase=password
The general format is:
http://ipaddress/Pagename?field1=value1&field2=value2&field3=value3
You must use the "&" to separate multiple fields not ","
Cheers,
Alan
-
Hi Greg,
yes, Alan is right - I missed that you used the wrong separator.
Cheers
Bruce