June 02, 2010, 02:11 AM
Yangyang [SOLVED] login with parameter
Hi all,
when i lgoin the :
http://localhost/ibi_apps/bid-login? userid:aaa
password:bbb
so, how can i login with parameter? don't need type anything and click logon button (I create new html, I want contain this).
like this :http://localhost/ibi_apps/bid-login?IBIMR_user=aaa&IBIMR_pass=bbb
is this possible?
Thanks,
James Yang
This message has been edited. Last edited by: Kerry , June 08, 2010 03:17 PM June 02, 2010, 02:51 AM
Tony A James,
You will need to change what you have and add a few more parameters -
http://localhost/ibi_apps/bid-login?WORP_DUAL_LOGIN=true&WF_USER=aaa&WF_PASS=bbb&WORP_REQUEST_TYPE=LOGIN&WORP_USER=aaa&WORP_PASS=bbb That should do it for you.
T
June 02, 2010, 03:01 AM
Yangyang Thanks Tony,
i try to do this :
but i got the result as same as login page (http://localhost/ibi_apps/bid-login?)...
Thanks,
James
June 02, 2010, 05:50 AM
Tony A James,
Thanks exactly the URL that I use to login direct to our portal so I know it works.
Check the HTML source of your bid login to see if there are other parms that your installation has to pass, and then add them to your URL.
T
June 02, 2010, 06:04 AM
Kofi I check also but it no work for me. I not have localhost instal but change to server before I check. I like this to be in favorites, save me time
Kofi
June 02, 2010, 06:08 AM
Tony A Whoops, that'll teach me to check the URL fully. Change bid-login to Controller and LOGIN to WORP_LOGIN -
http://localhost/ibi_apps/Controller?WORP_DUAL_LOGIN=true&WF_USER=aaa&WF_PASS=bbb&WORP_REQUEST_TYPE=WORP_LOGIN&WORP_USER=aaa&WORP_PASS=bbb T
This message has been edited. Last edited by: Tony A , June 02, 2010 06:13 AM June 02, 2010, 11:13 AM
Yangyang Thanks Tony,
when i copy this in URL , it's work.
when i
<html>
<body>
<iframe autoExecute="True" src="http://localhost/ibi_apps/Controller?WORP_DUAL_LOGIN=true&WF_USER=aaa&WF_PASS=bbb&WORP_REQUEST_TYPE=WORP_LOGIN&WORP_USER=aaa&WORP_PASS=bbb"></iframe>
</body></html>
i got this error :
Error Number 19402
Severity Error
Description Illegal request attempt.
Possible causes Your session has expired or been invalidated.
Actions Please signon again.
i think it still lost something...
Thanks,
James
This message has been edited. Last edited by: Yangyang , June 02, 2010 11:51 AM June 02, 2010, 06:08 PM
Waz FYI,
Keep in mind that an open call to the server will be stored in the browsers cache, and could be a security risk.