Hi,
I have an application with two application items:
APP_ITEM_1
APP_ITEM_2
These items have session level checksum protection. I have an on-demand application process that uses the values of the items called MY_PROCESS. My page also has page access protection enabled.
I generate a link to the application process as follows:
htp.p('<a href="'||apex_util.prepare_url('f?p='||:APP_ID||':1:'||:SESSION||':APPLICATION_PROCESS=MY_PROCESS:::APP_ITEM_1,APP_ITEM_2:1,2')||'">Test</a>');
The generated URL includes a checksum, however when clicking the link the following error is shown:
Attempt to save item APP_ITEM_1 in session state during show processing. Item protection level indicates "Item may be set when accompanied by a "session" checksum.". No checksum was passed in or the checksum passed in would be suitable for an item with protection level "Item has no protection.". Note: End users get a different error message.Contact your application administrator.
Session state protection violation: This may be caused by manual alteration of a URL containing a checksum or by using a link with an incorrect or missing checksum. If you are unsure what caused this error, please contact the application administrator for assistance.
You can see this in action here:
http://apex.oracle.com/pls/apex/f?p=80082
Any ideas why I get this error?
Cheers,
Andy.