Public page not accessible for the first time request
528419Oct 16 2007 — edited Oct 16 2007Hi Everyone
I found that when I make the page public in application, then it can not be accessible for http requests. But if we send request to the page once more, the request returns ok. When we close session and start a new session all repeated - first request says than url not found and all further requests are say ok.
I need ok for the first time request also, because robots that check my links on public pages have only the first time request and can't see my pages.
But if we check the login page (101), the first time request is ok.
Sample code for check http requests:
declare
l_line clob := empty_clob();
req utl_http.req;
resp utl_http.resp;
begin
req := utl_http.begin_request('http://somehost:8080/apex/f?p=108:1:3');
resp := utl_http.get_response(req);
utl_http.read_text(resp, l_line);
dbms_output.put_line(substr(l_line,1,500));
dbms_output.put_line(substr(l_line,501,500));
dbms_output.put_line(substr(l_line,1001,500));
dbms_output.put_line(substr(l_line,1501,500));
dbms_output.put_line(substr(l_line,2001,500));
utl_http.end_response(resp);
end;
/
Thank You