This site is currently read-only as we are migrating to Oracle Forums for an improved community experience. You will not be able to initiate activity until January 30th, when you will be able to use this site as normal.

    Forum Stats

  • 3,889,964 Users
  • 2,269,775 Discussions
  • 7,916,823 Comments

Discussions

What magic happens in this piece of code (link with filter)?

Gosforth
Gosforth Member Posts: 85 Red Ribbon

I need to prepare redirect link. So when I have

var url = "f?p=&APP_ID.:10:&SESSION.:INQUIRIES::RIR,CIR:IR_INQUIRY_NO:124942021090333";

it works.

But when I have:

var inqlinkval = 124942021090333
var url = "f?p=&APP_ID.:10:&SESSION.:INQUIRIES::RIR,CIR:IR_INQUIRY_NO:"+inqlinkval;

it screams 'The checksum computed on the request, clear cache, argument names, and argument values (.......) did not match the checksum passed into the show procedure

What magic is happening there?

Regards

Tagged:

Best Answer

  • Gosforth
    Gosforth Member Posts: 85 Red Ribbon
    Answer ✓

    Nevermind, I solved that:

    var url = "f?p=#APP_ID#:10:#SESSION#:::RIR:IRIN_INQUIRY_NO:\\"+inqlinkval+"\\";
    url = url.replace("#APP_ID#", $v("pFlowId"));
    url = url.replace("#SESSION#", $v("pInstance"));
    

Answers

  • Gosforth
    Gosforth Member Posts: 85 Red Ribbon
    Answer ✓

    Nevermind, I solved that:

    var url = "f?p=#APP_ID#:10:#SESSION#:::RIR:IRIN_INQUIRY_NO:\\"+inqlinkval+"\\";
    url = url.replace("#APP_ID#", $v("pFlowId"));
    url = url.replace("#SESSION#", $v("pInstance"));