Application Express User's Guide > Oracle Application Express ... > HTMLDB_UTIL > PREPARE_URL Function
PREPARE_URL Function |
Previous |
Next |
Given a ready-to-render f?p
relative URL, this function adds a Session State Protection checksum argument (&cs=
) if one is required.
Syntax
HTMLDB_UTIL.PREPARE_URL ( p_url IN VARCHAR2 p_url_charset IN VARCHAR2 default null, p_checksum_type IN VARCHAR2 default null) RETURN VARCHAR2;
Parameters
Table: PREPARE_URL Parameters describes the parameters available in the PREPARE_URL function.
PREPARE_URL Parameters
Parameter | Description |
---|---|
p_url |
An f?p relative URL with all substitutions resolved |
p_url_charset |
The character set name (for example, |
p_checksum type |
Null or any of the following six values, |
Example
DECLARE l_url varchar2(2000); l_session number := v('APP_SESSION'); BEGIN l_url := HTMLDB_UTIL.PREPARE_URL('f?p=100:1:'||l_session||'::NO::P1_ITEM:xyz'); END;