Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8242641
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T21:14:22+00:00 2026-06-07T21:14:22+00:00

I am calling a plsql procedure from window.opener.location.href, I want to pass an array

  • 0

I am calling a plsql procedure from window.opener.location.href, I want to pass an array as a parameter to this procedure.

window.opener.location.href="dt_bulk_test_pkg.pc_bulk_test?ps="+frmresult.ps.value+
                            "&p_step="+frmresult.p_step.value+
                            "&p_year="+frmresult.p_year.value+
                            "&p_quarter="+frmresult.p_quarter.value+
                            "&p_diagnostic_type="+frmresult.p_diagnostic_type.value+
                            "&p_overwrite="+frmresult.p_overwrite.value+
                            "&p_company_id="+v_comp_id;

v_comp_id is an array.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T21:14:23+00:00Added an answer on June 7, 2026 at 9:14 pm

    PL/SQL is a database technology, Javascript is an in-browser technology (unless you’re doing server side JS with node or Rhino but you are not). The browser can only communicate with web servers. So from the point of javascript, you’re not calling a stored procedure, you’re calling a web-server that you must have running somewhere that calls that stored procedure.

    How exactly arrays are represented is up to the server-side language/web-framework, but a fairly standard approach is that taken by jQuery’s $.param method. For example, opening up the console on this site I can do this:

    > $.param({example: [1,2,3]})
    "example%5B%5D=1&example%5B%5D=2&example%5B%5D=3"
    

    Words of warning.

    • Exposing database stored procedures directly via HTTP is not only bad design, but likely a crazy-bad security risk.
    • Embedding parameters in a url means you are using an HTTP GET request. GET requests are meant for resources that do not affect the state of the server so be careful that your stored procedure only gets data, not changes it. The danger is that someone could put that url in an email or even an img src tag on a webpage and people would hit that url simply by clicking a link or visiting a web page.
    • All parameters should pass through url encoding. Like I mentioned, jQuery.param will do this.
    • You are likely exposing yourself to XSS attacks as well.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a function which returns array and I am calling this function from
I am calling a PL/SQL procedure like this: execute util.verify(src_schema => '&username', stab =>
I'm calling in a PL/SQL-Procedure another procedure. Now i'll put a begin-exception-block around this
I am calling a function from my java code and i am getting this
Calling Html.RenderPartial(~/Views/Payments/MyControl.ascx); from a view works if MyControl.ascx is a control that directly inherits
Calling getActionBar returns null . This has been frequently reported so I've made sure
Calling urrlib2.urlopen on a link to an article fetched from an RSS feed leads
When calling functions that always throw from a function returning a value, the compiler
Calling MyPanel.Panel1.Hide(); or MyPanel.Panel2.Hide(); simply hides the controls inside the panel... but I want
Calling Index view is giving me this very very annoying error . Can anybody

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.