Home » Developer & Programmer » Application Express, ORDS & MOD_PLSQL » Cookie is diplay in html? (oracle9i)
Cookie is diplay in html? [message #416901] Wed, 05 August 2009 01:19 Go to next message
mm_kanish05
Messages: 493
Registered: January 2007
Location: Chennai
Senior Member

Hi,
I am very newbie to Web development technology.

i created psp file

<html>
<head>
<%
  owa_util.mime_head('text/html',False);
  owa_cookie.send('username,p_username);
  owa_util.http_header_close;
%>
</head>


but i am getting the output on the web page, what should i want to avoid print this area.

Content-type: text/html; charset=WINDOWS-1252 Set-Cookie: username=MUTHU; 


please help me.

kanish
Re: Cookie is diplay in html? [message #417058 is a reply to message #416901] Wed, 05 August 2009 19:01 Go to previous messageGo to next message
andrew again
Messages: 2577
Registered: March 2000
Senior Member
I'm pretty sure your <html><head> comes after your mime type headers. So something like this...

<%
  owa_util.mime_head('text/html',False);
  owa_cookie.send('username,p_username);
  owa_util.http_header_close;
%>
<html>
<head>
...


Re: Cookie is diplay in html? [message #417072 is a reply to message #417058] Wed, 05 August 2009 22:36 Go to previous message
mm_kanish05
Messages: 493
Registered: January 2007
Location: Chennai
Senior Member

hi,

I am getting same thing even the place the coding before html tag.

What is the problem? please help me.


(Thanks I Solved It)


kanish

[Updated on: Thu, 06 August 2009 00:06]

Report message to a moderator

Previous Topic: psp related question
Next Topic: Calling APEX page in cognos report
Goto Forum:
  


Current Time: Wed Dec 04 19:47:04 CST 2024