Hi,
I am working on Apex 23.1.0.
I want to know the use of htp.init().
I am not finding exact information about it on the internet.
Can I use it in Apex page before header(pre rendering) process, refer below?
BEGIN
htp.init;
owa_util.mime_header ('text/html', FALSE);
owa_cookie.send ( name => 'NAME'
, value => 'JOHN'
, expires => sysdate + 1
);
owa_util.http_header_close;
END;
Currently I am getting 'Session not valid' error because of this.
Thanks.