How to avoid prompting the userid and password in Drop Down Menu

Hey Guys hope you can help me.
I have created a page wherein within that page I have a drop down menu using a javascript here is the code (please see my code below): Now the problem is each time I click any of the selection below the useid and password prompt me.
Is their any way that this can be fixed so that I cann pass the userid and password as a parameter? I have already tried to pass the &SESSION but it does not work.
Please enlighten me on this one....
Thanks,
Henry
<select name="P300_selected_alert" size="1" onChange="bringMeHere(this.options[selectedIndex].value)">
<option value="" selected>-Select One-</option>-->
<option value="All Alerts">All Alerts</option>
     <option value="Acknowledged">Acknowledged</option>
<option value="Unacknowledge">Unacknowledge</option>
<option value="Acknowledged-Resolved">Acknowledged-Resolved</option>
     <option value="Acknowledged-Unresolve">Acknowledged-Unresolve</option>
<option value="Target Name">Target Name</option>
     </select></td>
</td>
<script language="JavaScript1.1" type="text/javascript">
function bringMeHere(a)
if (a == "Acknowledged")
location.href="f?p=103:295:12375097291676676231:NO::";
else
location.href="f?p=103:300:12375097291676676231:NO::";
</script>
---------------------------------------------------

Henry,
See the change I made to your reports region template on page 1, adding the session id to the links as was suggested earlier:
var Session_Id = html_GetElement('pInstance').value;
if (a == "Name")
location.href="f?p=35225:3:"+Session_Id;
else if (a == "Employee")
location.href="f?p=35225:2:"+Session_Id;
else
location.href="f?p=35225:1:"+Session_Id;
And again, you do not want to be hard-coding the application ID anywhere in your code.
Scott

Similar Messages

  • How to use the userid and password infor from Oracle DB in BO

    Out client has the userid and passwords(encrypted) infomration stored in oracle table.
    Is it possible to import this useid and password information into BO .And use the same userid and password from Oracle table for its login authentication and for data security...?
    In other words can the userid/pwd info from Oracle Profile Table imported and re-used in BO Enterprise Edition.

    If the users/pw are in an Oracle LDAP v3 compliant server then you can import them via LDAP plugin, else you would need to bring them in an enterprise users via script. The Import wizard can do this and the SDK (see the SDK forums for more info on how)
    Maintaining the passwords would be difficult unless you are using and industry standard directory like LDAP.
    Regards,
    Tim

  • How do pass the UserID and Password in the SOAP header for web services

    I am encountering issues trying to pass the userid and password in the SOAP header when consuming a 3rd party web service.  Rostewitz posted something similiar but I don't know how to type iv_xml.  Any help would be greatly appreciated.
    Thank you,
    jpina

    It helps to post a link to a thread when you refer to it.  If you are trying to implement that solution though, you can look at the parameter of the corresponding method being called.  The parameter has type 'SIMPLE' which means that it is compatible with all of the predefined elementary ABAP types.  In this case, you should use 'STRING'.

  • How to embed the UserID and Password in WSDL

    Hi
    is there any way to embed the UserID and Password in the WSDL file that is generated by XI.
    Thank You,
    Madhav

    Hi,
    It is not possible by using SOAP adapter. But you can use http adapter with user and password instead of SOAP adapter.
    Follow Stefan Grube's postings in thread how to add the username and password into the WSDL
    Regards,

  • How to recover the userid and password with out losing data in c drive

    Hi, i have ibm server and installed windows server 2008 r2 standard. i forgot the userid and password for login so i used the password crack tool after that try to login but it shows " The login credentials are in correct" so how to login to
    system and get the c drive data safely with out loose.

    Hi,
    According to your description, I assume you have forgotten the administrator’s password. If you have another administrator account, you can use it to reset the password.
    If you don’t have another administrator account, then there is no Microsoft recommended way to reset passwords due to security considerations.
    Here are some similar threads below I suggest you refer to:
    Forgot Password for Windows Server 2008 R2
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/cc3a6a12-66e9-4a06-97fd-2a5c89d627bc/forgot-password-for-windows-server-2008-r2?forum=winservergen
    forgot windows server 2008 r2 admin password
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/ab435f7e-3927-4fda-a991-80f42e18089b/forgot-windows-server-2008-r2-admin-password?forum=winservergen
    Best Regards,
    Amy Wang

  • How can I pass the userId and pasword to proxy while opening the URLConnect

    First I was having problem on how can I send a userid and password for proxy authentication while trying to connect to a servlet from a applet, finally I figured out that I need to add Authenticator as
    Authenticator.setDefault(new MyAuthenticator());
    and everything started working fine but only from a java application not from a applet. In applet when I try to add a Authenticator I get exception that cannot add defualt Authenticator. Please someone help how can I add Authenticator in a applet? I dont think for adding a defualt autheticator I need to get my applet signed. Please comment.
    Thanks,
    Mandeep

    Can u tell me please how can I add
    java.net.NetPermission on the target setDefaultAuthenticator.
    And by the way for sending the password I tried the following code which doesn't use Authenticator and it worked. U can use it what Iam doin is iam using my own base64encoder instead of jdk's which was giving problems to me. U can try with jdk base64encoder and if u get any problems let me know I'll send u my version of the encoder.
    If u r using any images in ur applet and getting the images by using getImage() method then probably while getting the image applet is prompting for user and password.
    URLConnection con = url.openConnection();
    String authString = "userid:passsword";
    String auth = "Basic " + new sun.misc.BASE64Encoder().encode(authString.getBytes());
    //String auth = "Basic " + new MyBase64Converter().encode(authString.getBytes());
    con.setRequestProperty("Proxy-Authorization", auth);

  • How do i send the username and password to yahoo web page through url

    how do i send the username and password to yahoo web page through url i.e as Query string so that my account in yahoo will open...

    If you don't mind using a library, then download and use the Apache HttpClient library. It takes care of all these details for you.

  • How can i clear the usernames and passwords history from all login websites?

    how can i clear the usernames and passwords in the log in history of the websites? example when i want to login to my facebook i always type first letter of my e-mail and it comes with the passwords because before i put remember my password, and in other websites so, i just need to delete all this login history and it's not working from the clear everything !!! :S any idea please !! thanks in advance :)

    See:
    http://kb.mozillazine.org/Deleting_autocomplete_entries
    http://kb.mozillazine.org/Password_Manager

  • Please help me for checking the userid and password process

    hi master
    sir how i find any record such as user give userid and password in normat textfield thad not bound with data provider only i drop in page and also i drop dataprovider in page and i check that userid and password from table
    if found userid and password in table then move user to next page oterwise give message not righet user
    i am use this code but this code give me error
    see
    try {
    RowKey userRowKey = customerDataProvider.findFirst
    (new String[] { "CUSTOMER.USERID", "CUSTOMER.PASSWORD" },
    new Object[] { loginUserId.getText(), loginPassword.getText() });
    if (userRowKey == null) {
    error("Invalid user id or password");
    return null;
    i try this but this command also give me error
    textfieldy.setValue(partytableDataProvider.getValue("PARTYTABLE.PARTYID"));
    ==========
    textfiedlsetValue(getSessionBean1().getPartytableRowSet().setObject(1,partytableDataProvider.getValue("PARTYTABLE.PARTYID"));
    ===========
    texfield.setValue(partytableDataProvider.getValue("PARTYTABLE.PARTYID").toString());
    see error
    Possible Source of Error:
    Class Name: com.sun.data.provider.impl.CachedRowSetDataProvider
    File Name: CachedRowSetDataProvider.java
    Method Name: getFieldKeyInternal
    Line Number: 481
    Source not available. Information regarding the location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    com.sun.data.provider.impl.CachedRowSetDataProvider.getFieldKeyInternal(CachedR owSetDataProvider.java:481)
    com.sun.data.provider.impl.CachedRowSetDataProvider.getFieldKey(CachedRowSetDat aProvider.java:439)
    com.sun.data.provider.impl.AbstractTableDataProvider.findFirst(AbstractTableDat aProvider.java:143)
    logintestform.Page1.button2_action(Page1.java:442)
    sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun
    please give me idea how i find record in table
    thank's
    aamir

    Hi ,
    Wondering if you were able to get past this issue. If not , I would suggest checking the prefix's on the metadata of the column name.
    Radhika

  • Netflix prompting for userid and password - constantly!

    Hello,
    First some background.  I do not have apple tv powered or my wifi powered all the time.  When I want to use apple tv I power it up as well as my wifi.  My Netflix userid and password was stored in the app and I never got prompted for it.  As of last week, I noticed the Netflix app propmpts me for my userid and password.  When I left my apple tv and wifi powered up all day and then went back to netflix, no userid and password prompt.  Why did they change this?  Over the last few days, I am still be prompted for my userid and password.  (I use DSL). 
    Thanks,
    Charlie

    Why did they change this?  Over the last few days, I am still be prompted for my userid and password.
    THEY did not change anything.  You have been getting lucky.  Contantly restarting ATV and your router can, and usaully will change your IP.    When that happens you will have to re-authenticate.
    The other response is correct.  This is a problme by design.  Networks are not supposed to be powered down every time you stop using them.

  • How do I change the appleid and passwords on my iphone and ipad to match my MacBook Pro?

    How do I change rthe appleid and passwords on my iphone and ipad to match my macbook pro?

    Settings>Store.  Tap on the AppleID and then change it.

  • Avoid to specify userid and password in shortcut of report

    Dear All
    I want to make a shortcut of .REP file. Is it possible to not to specify the username and password in the target. I want to specify it at report level as we do in forms in the trigger "ON-LOGON"
    your reply will be appreciated.
    Regards

    Hello,
    It is possible if you use a "JDBC Data source" :
    http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwwhthow/howto/defqry/sq_p_creating_a_local_query_jdbc.htm
    (JDBC Data Source exists since Reports 9.0.2 but does not exist in previous version )
    Regards

  • How do I get my application to continue processing instead of waiting for a menu selection when the user clicks on a drop-down menu?

    I'm developing a process-control application,using serial communication for data acquisition. My problem - I need this serial read of data to be continuous. But, when I click on a drop-down menu, the rest of the processing halts until I click on one of the menu items in the drop-down list and I lose data in that interval. What can I do?

    In most process-control applications it is not about just avoiding lost measurement data. The most important is having a robust control-algoritm that reacts to a change of input-situation in a given time.
    A non-responsive system is not a very reliable process-control solution.
    The vi you mentioned are only around since the latest versions and the old method of polling controls still suits many applications (but that's another discussion).
    As about RS-232 input time-outs, I have never used that.
    In the time before VISA was created I (as other LabVIEW users I discovered) used a method of storing every incoming string in a buffer (memory-vi with USR) and that still works (classic serial VI's versus VISA is also another never-ending discussio
    n).

  • How can I organize data by name in a drop down menu?

    I created a spread sheet with several drop down menus. The problem I am having is how to organize my data by name. Every new entry is at the bottom of the drop down and can't be moved to a different location. This gets very confusing as I add more names to the drop down cell. In this case my entries consist of Chemical names that make it very hard to recognize or to locate once I open the drop down menu. Any suggestions?

    Hello
    Some times ago I've written a set of AppleScript scripts to manipulate popup menu items in Numbers 09. You may try the Script 3 (sort popup items.applescript) for instance in the following thread.
    Alphabetize pop-up menu
    https://discussions.apple.com/thread/5177915?tstart=0
    https://discussions.apple.com/message/22530570
    https://discussions.apple.com/message/22530926
    https://discussions.apple.com/message/22541516
    Hope this may help,
    H

  • Selecting the XML data from a drop-down menu or links

    Hi, I have this page:
    http://www.georgeglazer.com/prints/nathist/botanical/volckinv/volckinv.html
    There are prints of lemons/limes and prints of oranges. I
    want to have the visitor select which kind of fruit from either a
    drop-menu or from two links that look something like this:
    Lemons/Limes | Oranges. Looking at other help docs I found the
    region/state mapping demo at
    http://labs.adobe.com/technologies/spry/samples/data_region/StateMappingSample.html,
    and copied the code and tried to modify it. But I don't really
    understand the technical shorthand of the help docs (an ongoing
    problem I have with the Spry documentation) and I couldn't find the
    XML docs that the region/state mapping demos are based on so I
    couldn't see how they were set up.
    I got as far as this: nothing loads initially when you open
    the page (I'd like the lemons to load), but if you select Oranges
    from the drop-down menu you see the oranges, and THEN once you've
    done that, you can select Lemons/Limes in the drop-down menu and
    see those. I have three XML files I've been playing around with to
    get this to work: lemons.xml, oranges.xml and inventory.xml, which
    combines the two.
    I also suspect region/state mapping might not even be exactly
    what I'm trying to do here, but I can't figure out from the
    documentation exactly what this thing I'm trying to do is called. I
    know the photo album demo accomplishes something similar, and I
    could do that, but it seems way more complicated than what I need
    here (right?). Help will be appreciated!
    Thanks,
    Helen

    I made a different test using the file
    http://www.georgeglazer.com/prints/nathist/botanical/volckinv/inventory.xml
    and
    http://www.georgeglazer.com/prints/nathist/botanical/volckinv/volcktest.html
    where I sent up the inventory xml form like one I found in the
    Nested XML Data documentation where you have item ids and types, so
    all the oranges and lemons are in one XML document (which I'd
    prefer).
    Here's an abbreviated version of the inventory.xml:
    <inv_items>
    <inv_item id="1" type="lemon">
    <name>Lemons and Limes</name>
    <title>Cedro Ordinario</title>
    <plate>116a</plate>
    <fullimage>pl116a.jpg</fullimage>
    <tn>pl116a-2.jpg</tn>
    </inv_item>
    [and more lemons follow]
    <inv_item id="19" type="orange">
    <name>Oranges and Others</name>
    <title>La Zucchetta Imperiale</title>
    <plate>138a</plate>
    <fullimage>pl138a.jpg</fullimage>
    <tn>pl138a-2.jpg</tn>
    </inv_item>
    [and more oranges follow]
    </inv_items>
    What I'd like to do is display the names "Lemons and Limes"
    and "Oranges and Others" and when you click on "Lemons and Limes"
    you see only the thumbnails for lemons and limes, and when you
    click on "Oranges and Others" you see the thumbnails for only
    those. I'd like the Lemons and Limes to be selected when the page
    is opened.
    Help greatly appreciated!

Maybe you are looking for

  • No valid interval found (No internal Assignment) in red message Message no.

    Dear Expert,         When i am hiring with transaction code PA40 in ECC5.0 its says "No valid interval found (No internal Assignment) in red message Message no. 5A365 Could you please tell me good method? Many thanks. Best Regards, Merry

  • Searching for function modul which insert adressdata bevor fm vendor_insert

    hello, i read many threads, but I find no solution. I want use the fm vendor_insert for a migration. But using the fm vendo_insert require an existing address entry. Is there any central fm which create the whole address. regards Kim Werner

  • AS3 classes source file location?

    Can anyone tell where the AS3 package source files (*.as) are located? Besides for looking up class definitions in the AS3 framework in the Actionscript 3 Language Reference site, I'd like to open specific class files to look at them in their entiret

  • Help, how do i delete DNSchanger?

    Yesterday while i was using google to find something i came upon their warning saying that my computer might be infected, it looked like this: i followed the instructions it gave me to get rid of this malware called "DNSchanger", went to the page htt

  • IChat worked great under 10.4.6, has not worked since 10.4.7

    We use IChat to video conference between offices(in different cities.) We have VPN and our connectivity at both ends is T3 supplied by the same vendor. We have a server which supplies DHCP to the network. Before 10.4.7 it all worked great, simple and