Focal Point
[SOLVED] login with parameter

This topic can be found at:
http://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/854102654

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,


WebFOCUS 7.6.8
WebFOCUS 7.6.10
BI
FLEX
.NET
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



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
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


WebFOCUS 7.6.8
WebFOCUS 7.6.10
BI
FLEX
.NET
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



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
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 Smiler

Kofi


Client Server 8.1.05: Apache; Tomcat;Windows Server 2012
Reporting Server 8.1.05; Oracle; MS SQL; Windows Server 2012
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,



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
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,


WebFOCUS 7.6.8
WebFOCUS 7.6.10
BI
FLEX
.NET
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.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!