Login Form - pass parameters to remote site
Hi,
I need to create a login form on site A which passes parameters (username;company; password) to site B. The user will then be logged into site B in a new window.
I guess this can be done in php on site A but my php skills are sketchy to say the least.
What I understand I need to do is send a GET request to http://site_b/login.asp?username=XXXX&company=XXXX&password=XXXX where the XXXX values come from the form on site A.
This is what I have (which is probably way out)...
<form method="get" action="http://site_b/login.asp?username=$username&company=$company&password=$password">
Username: <input type="text" name="username" <?php {echo "value=''username";}?> /><br />
Company: <input type="text" name="company" <?php {echo "value='$company'";}?>/><br />
Password: <input type="password" name="password" <?php {echo "value='$password'";}?>/><br />
<input type="submit" value="Login" /><br />
</form>
....of course it doesn't work.
I would be grateful if someone could point me in the right direction, thanks.
Mick
Mick3496 wrote:
bregent - they were very clear about the form fields:
username (alpha/numeric)
company (numeric only)
password (alpha/numeric)
Note that the fields are all lower case.
Are you saying the form code I posted should work?
Mick
It looks fine to me. For testing purposes you might want to change the password field to a text field so that you can be sure it is being populated correctly. And again, make sure that they are not checking referrers in their ASP script.
Similar Messages
-
How does customization form pass parameters?
I need to create my own customization form so it can include linked LOVs and was wondering how the default customization form passed the LOV values back to the calling component.
I put two copies of the same report on a page and called the customization form for each report selecting different LOV values. Since each report displays the correct results based on the LOV, I assume page parameters are not being used and neither is p_arg_values/p_arg_values.
Can anyone tell me how this information is being passed to the individual reports?
Thanks, LarrySharmila,
I guess I'm confused, the parameters that are selected on the Customization screen are persistent across different login sessions.
Is is my understanding that passing parameters via p_arg_names/p_arg_values on the URL would not carry over from one logon to another or even allow me to navigate to another page and then back to the "customized" screen and still have the customizated values applicable?
Are you saying that once I call a page and pass a name/value parameter pair to the page, that the paramter values remain in affect for subsequent calls to the same page where the name/value pair isn't being passed?
Doesn't the customization screen use the wwpre_api_name and wwpre_api_value methods to pass parameters to components located on a page via the user preference storage?
When I look at the URL associated with the customization link on my portlets I see the preference_path being passed to the customization form.
Larry -
GoLinks and passing parameters to external sites
I am trying to have a goImageLink (or goLink or goButton) that takes the user to another site. The destination url is expecting parameters.
Example: http://www.abc.com?param1=xyz¶m2=wxy
I've seen a few examples of something similar to this, and I am just wondering why there isn't any other way to do it? Am I required to manually build the URL in a managed/backing bean?JRolls,
there is not mandatory to use a managed bean, you can use the EL to build parameter but you must have the values!
where are the values for the parameter??
<af:goLink destination="http://www.abc.com?param1=#{EL...}¶m2=#{EL...}"/>
use EL to refer to managed bean or a value from bindings already available in your page.
I hope to get your mean correctly. -
10g Forms passing parameters 10 Reports
Hello All,
Developer 10g (9.0.4.19) and Win2000.
Converting from web 6i 10 10g.
6i Forms invokes a report using run_report_product. Parameter values containing spaces have single quotes concatenated to them.
6i web runs fine.
I used Forms Migration Assistant to convert to 10g. No errors nor issues reported.
Run same Form and Report combo on 10g and the report fails with "Quoted string not properly ended".
Why? Is this a setup issues? A bug?
I've searched metalink and this forum, seeing many people with the same (or similar) problem but haven't seen a fix offered by Oracle.
We have several hundred forms/reports and a workaround, or a required change would put a large burden on our small staff.
Please advise.
-ChrisCheck out Bug 3451404. You may want to confirm this with Support.
Regards
Grant Ronald
Forms Product Management -
Forms 6i pass parameters to .exe
host("a.exe")
I want to input parameter in FORMS,pass parameters to a.exe running.
How to do it???Hi *928060*
>
host("a.exe")
I want to input parameter in FORMS,pass parameters to a.exe running.
How to do it???
>
host('a.exe'||' '||param1||' '||param2....)Cheers, -
Pass form input parameters during login
I would like to add an additional parameter during login as a flag and capture the value as a session variable. Does anyone have any ideas how to do this? The code for the login form is below, and I understand that NQUser and NQPassword are passed as system session variables. Is there any way for me to add an additional input named NQTest and capture NQTest as a session variable?
<form name="logonForm" method="post" action="saw.dll?Dashboard" onsubmit="return SAWLogonWait()" target="_self">
<input type="hidden" name="saveLangPref" value="true">
<input type="hidden" name="icharset" value="us-ascii">
<input type="textbox" name="NQUser" size="25" value="">
<input type="password" name="NQPassword" size="25" value="">
<input type="submit" value="Log In">
</form>
I'd prefer not to pass my variable through the URL due to security concerns: http://oraclebizint.wordpress.com/2007/07/30/customizing-obi-ee-%E2%80%93-go-url-parameters/
Edited by: EricPSU on Oct 23, 2009 9:36 AMMy solution is as follows. In the OBIEE Login form, I put a new INPUT parameter called "TEST":
<input type="hidden" id="TEST" name="TEST" value="This is the test value">
Then in instanceconfig.xml within the <ServerInstance> tags, I added the following code to capture the value:
<Auth>
<UserIdPassword="true">
<ParamList>
<Param name="TEST" source="url" nameInSource="TEST">
</ParamList>
</UserIdPassword>
</Auth>
Now in the admin tool I can reference my variable value with VALUEOF(NQSESSION.TEST) -
Passing parameters to oracle rports from oracle forms
Dear all,
Can anyone tell me how to pass parameters from oracle forms 10g to oracle reports 10g ,i want to hide my connection string and parameteres while open the report through web
can anyone plese help me out to solve this problem.Hi,
I had trail as advised, but anticipated results were not observed.
Here is the named configuration in formsweb.cfg
[NMPT]
form=D:\NMPT\FORMS\FHOPENFORM.fmx
userid=hmsprod/hmsprod@hindalco
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
imageBase=CodeBase
separateFrame=True
lookandfeel=oracle
logo=none
splashScreen=no
pageTitle =Test Application
background=no
colorScheme=blue
archive_jini=f90all_jinit.jar,icons.jar,frmwebutil.jar,jacob.jar
archive=f90all.jar
height=768
width=1024
envFile=nmpt.env
otherparams=useSDI=yesLOCATIONID=NMPT # new parameter which I want to access in my form
the URL is as follows:
http://MyPC:8888/forms90/f90servlet?config=NMPT
But I am unable to open the login page -
I am trying to use firefox as the web lauch for citrix ica client but when I go to login into remote site - I get the message waiting to find website but it nver finds the website. Has anyone else had this problem?
When I installed firefox, it asked if I wanted to use safari settings and I said yes but I think this might be causing the problem. Safari is no longer compatible with citrix ica client. When I reinstalled firefox it automatically installs the safari info. Does anyone know how to re-install firfox without installing safari info?Did anyone ever suggest you reset your PRAM?
http://docs.info.apple.com/article.html?artnum=2238
Also might want to try resetting the SMC, although I
doubt there's an issue there.
http://docs.info.apple.com/article.html?artnum=304123
I'm getting tired of people who supposedly know what
they're doing simply guessing that resinstalling the
OS might solve the issue. It's like trying to dissect
a frog with a sledge hammer, and wondering why you
didn't learn anything about anatomy in the process.
These sorts of things, although bizarre, should be
(and probably are) fixable without major surgery.
Thanks for the suggestion... but I think my first question would be why these parameters would need re-setting? This is a new machine... It has never been shut down hard. It is used at most 10 hours per week... mostly using Office 2004 for MAC. I need to figure this out as I will soon need it as a Cs2/CS3 - Aperture workhorse.
I too agree that it is best not to use a sledge when a scalpel is needed... but as a novice to the MAC world I may have been misled by Apple support. I seems to have fixed the symptoms ( some) but appears NOT to have addressed the cause... which is what I am after.
Would TechTool Pro detect a bad HD or RAM?
Thanks.... -
PASSING PARAMETERS TO CRYSTAL REPORTS THRU FORMS!
Hi! all,
Is there someone who passed parameters to crystal reports from
forms 5.0?
The problem is when I call the report executable from the form,
its giving a login prompt again which is not desirable as @ this
stage the user has already logged in once. So is there a way to
pass this as a parameter to crystal or may be any better way???
Thanx for the solution,
Hima
nullFirst make sure you are on SP 3:
https://smpdl.sap-ag.de/~sapidp/012002523100007123572010E/cr2008_sp3.exe
SP 3 msi
https://smpdl.sap-ag.de/~sapidp/012002523100007123592010E/cr2008sp3_redist.zip
SP 3 msm
https://smpdl.sap-ag.de/~sapidp/012002523100007123582010E/cr2008sp3_mm.zip
Have a look at [Crystal Reports for Visual Studio 2005 Walkthroughs|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2081b4d9-6864-2b10-f49d-918baefc7a23]
(The above does apply to your version of CR also)
Have a look at the samples:
https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
And look at the Developer Help file:
http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_dg_12_en.chm
And don't forget to use the search box at the top right corner of this web page. It will bring up KBases, blogs, wikis, articles and more. Searching these forums is also a good idea.
- Ludek -
How to open a page from a Form and pass parameters to the form on that page
I found a similar example on this forum, but it did not work for me:
declare
l_names owa.vc_arr;
l_values owa.vc_arr;
i number;
begin
PORTAL.wwpro_api_parameters.retrieve(l_names, l_values);
FOR i in 1..l_names.count
LOOP
htp.p(l_names(i) || ' ' || l_values(i));
END LOOP;
end;
By using this method i get the parameters for the Form, like the session ID, but not the parameters for the Page that the form is displayed in.
Another method I tried:
To open a Form from a Form and pass parameters works fine like this:
--In the After processing page PL/SQL event.
declare
v_id number;
blk varchar2(10):='DEFAULT';
Begin
v_id:=p_session.get_value_as_number (p_block_name=>blk,p_attribute_name=>'A_ID');
if v_id > 0 then
htp.formOpen('PORTAL.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=2649500412&p_arg_names=_show_header&p_arg_values=YES&p_arg_names=ID&p_arg_values='||to_char(v_id),'post');
htp.formSubmit(NULL,'Upload Files');
htp.formClose;
end if;
End;
But I want to open a Page containing the Form instead of just opening the Form. Is this possible to open a Page and pass paramters to the page, and then let the form inside the Page access the passed paramters. The reason for this is that a Form cannot be based on a page template, or can it? When opening the form i want to keep the left menu, which I can if it is a page based on my template with the left menu.
Best regards
HalvorHi,
You can do this by calling the url of the page with the form. You can then use p_arg_names and p_arg_values to pass parameters. In the called form you can get the value from p_arg_names and p_arg_values and assign it to the form field.
You can call this code in the success procedure of the calling form.
declare
v_id number;
blk varchar2(10):='DEFAULT';
v_url varchar2(2000);
Begin
v_id:=p_session.get_value_as_number (p_block_name=>blk,p_attribute_name=>'A_ID');
v_url := <page_url>;
if v_id > 0 then
call(v_url||'&p_arg_names=id&p_arg_values='||v_id);
end if;
End;
In the called form in "Before displaying form" plsql section write this code.
for i in 1..p_arg_names.count loop
if p_arg_names(i) = 'id' then
p_session.set_value(
p_block_name => blk,
p_attribute_name => 'A_ID',
p_value => p_arg_values(i)
end if;
end loop;
This code picks up the value from p_arg_values and assigns it to the form field.
Hope that helps.
Thanks,
Sharmila -
Unable to pass parameters from APEX to Oracle EBusiness suite R12 forms
Hi
We are trying to access a standard Oracle EBusiness form i.e. service request and are invoking this Form through a link from APEX.
We are trying to pass parameters via this URL
http://abc.oneapps.com:8010/OA_HTML/RF.jsp?function_id=2037&resp_id=50952&resp_appl_id=170&security_group_id=0&lang_code=US&otherparams=INCIDENT_ATTRIBUTE_15=5206
The EBusiness suite form is launched correctly but we are not able to read the parameter value through custom.pll code.
if (event_name = 'WHEN-NEW-BLOCK-INSTANCE') then
IF form_name='CSXSRISR' and block_name='SR_BSC_QUERY' then
FND_MESSAGE.DEBUG('PARAMETER.INCIDENT_ATTRIBUTE_15');
FND_MESSAGE.DEBUG(' ');
--FND_MESSAGE.DEBUG(:PARAMETER.INCIDENT_ATTRIBUTE_15);
lC_incident_number :=name_in('PARAMETER.INCIDENT_ATTRIBUTE_15');
FND_MESSAGE.DEBUG('Incident Number'||lC_incident_number);
IF lC_incident_number IS NOT NULL THEN
copy(lc_incident_number,'SR_BSC_QUERY.INCIDENT_NUMBER');
END IF;
FND_MESSAGE.DEBUG(' ');
END IF;
END IF;
Is this the right way of passing the parameters?
all technical inputs are welcome.
Regards
SamHi
We are trying to access a standard Oracle EBusiness form i.e. service request and are invoking this Form through a link from APEX.
We are trying to pass parameters via this URL
http://abc.oneapps.com:8010/OA_HTML/RF.jsp?function_id=2037&resp_id=50952&resp_appl_id=170&security_group_id=0&lang_code=US&otherparams=INCIDENT_ATTRIBUTE_15=5206
The EBusiness suite form is launched correctly but we are not able to read the parameter value through custom.pll code.
if (event_name = 'WHEN-NEW-BLOCK-INSTANCE') then
IF form_name='CSXSRISR' and block_name='SR_BSC_QUERY' then
FND_MESSAGE.DEBUG('PARAMETER.INCIDENT_ATTRIBUTE_15');
FND_MESSAGE.DEBUG(' ');
--FND_MESSAGE.DEBUG(:PARAMETER.INCIDENT_ATTRIBUTE_15);
lC_incident_number :=name_in('PARAMETER.INCIDENT_ATTRIBUTE_15');
FND_MESSAGE.DEBUG('Incident Number'||lC_incident_number);
IF lC_incident_number IS NOT NULL THEN
copy(lc_incident_number,'SR_BSC_QUERY.INCIDENT_NUMBER');
END IF;
FND_MESSAGE.DEBUG(' ');
END IF;
END IF;
Is this the right way of passing the parameters?
all technical inputs are welcome.
Regards
Sam -
Form Personalization - Custom Function - How to pass parameters?
Hi,
My requirement is to call a custom mod pl/sql program (html page) from purchasing when the "approve" button is pressed. I have it working, but don't know how to pass parameters to my function.
I have my function defined and registered. In the definition under "Web HTML" tab, I have my pl/sql procedure call under "HTML Call". Where do the parameters go?
On the customization of form POXPOEPO, I am using Builtin - Launch a function. I want to pass the po_header_id, so under "Parameters", I did "Insert Item Value" of :PO_HEADERS.PO_HEADER_ID
My custom HMTL page is popping up, but the parameter is not being passed. Is there something in the Function Definition where I can define the incoming paramaters?
Thanks.
PaulHi paul;
There are many usefull link avaliable if you googling
http://www.google.com.tr/#hl=tr&biw=1259&bih=793&&sa=X&ei=4wxQTZmYEISRswaNktWSDQ&ved=0CC4QBSgA&q=How+to+pass+parameters%2Bform+personalization&spell=1&fp=64d53dfd7a69225a
Regard
Helios -
Form personalization - new custom function - how to pass parameters?
Hi,
My requirement is to call a custom mod pl/sql program (html page) from purchasing when the "approve" button is pressed. I have it working, but don't know how to pass parameters to my function.
I have my function defined and registered. In the definition under "Web HTML" tab, I have my pl/sql procedure call under "HTML Call". Where do the parameters go?
On the customization of form POXPOEPO, I am using Builtin - Launch a function. I want to pass the po_header_id, so under "Parameters", I did "Insert Item Value" of :PO_HEADERS.PO_HEADER_ID
My custom HMTL page is popping up, but the parameter is not being passed. Is there something in the Function Definition where I can define the incoming paramaters?
Thanks.
PaulPost your question in below forum:
General EBS Discussion
-Anand -
Passing parameters between form portlets on two different pages ...
Here is a brief summary of our problem.
We have one master form and a detail form which are published as portlets and placed in two different pages.
Now i want to pass parameters from master form portlet resides on one page to detail form portlet resides on another page.
Say for example, when i invoke master form (created based on demo DEPT table), enter values on fields then invoke another page
on which the second form portlet (say form based on EMP demo table) resides. Now i want to pass deptno to second form and
get displayed in deptno field of second form.
I was looking at the following posting, but how to do this when forms are published as portlets and placed on two different pages ?
http://forums.oracle.com/forums/message.jsp?id=997683
Customer actually want to pass a parameter from master form to 5 detail form portlets resides on different pages.
This is bit urgent as it is the only problem stopping the customer go live.
Thanks in advance.Please refer to post Re: session state security
It tells you how to populate a form portlet in a page by clicking on a link in a report portlet.
You can use the wwsto_api_session objects to store data submitted by the master and let the detail form pick it up and proceed with the query. -
Logging in to remote site, reset safari does not clear the user login info?
I'm logging in to a remote site with a 2 step login. Authentication then citrix. User info is not cleared in the authentication portion when I reset safari. Must be stored somewhere else. Where should I look?
Launch the Keychain Access application and search for the server name.
Maybe you are looking for
-
2-Displays for Powermac G4 Gigabit
Running OS Tiger, I have the Powermac G4 Gigabit (Rage 128 Pro) with VGA and ADC. I have a Dell monitor connected to the VGA port and just bought a second Dell to connect to the ADC port. Using an adaptor to go to the ADC, I connected the second moni
-
Increase the height of push button ?
Hi, I want to increase the height of the push button in the selection screen in module pool. Please suggest. Thanks in Advance.
-
Discover is showing UMRs when using getaddrinfo/getnameinfo
Hi, I started playing with the discover (Studio 12.4, Solaris 11.2, x86) tool to check my apps for memory errors etc. I noticed that I get UMR warnings/errors when using the getaddrinfo()/getnameinfo() socket functions. Why? me@solaris11_2_x86:/tmp $
-
Can Designer10gR2 generate Forms with Pluggable Java Components and WebUtil
I know that Forms 10g supports Pluggable Java Components and WebUtil. Designer 10g R2 provides Design Capture of Forms to Modules. Can Designer capture a Form with Pluggable Java Components and WebUtil and then regenerate Form from within Designer? I
-
Today a R/3 sap system is very low in performance. We have checked on the TASK MANAGER and we have seen that it's due to a high use of CPU by SQL DATABASE. So....cause we don't have activate any strange activity on it we would like to monitor which a