Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: PL/SQL Cookies, How do I read.. HELP!!
Hi Dwight
> I need to retrieve 4 different bits of data from a cookie being passed.
>
> Every example I find uses "name", "type", "vr_char", etc... in a UNCLEAR
fashion that seems to be intermixing variable names with
> parameters....
>
> Can ANYONE tell me how to retrieve 4 values out of 8 that are stored in a
cookie.
> and how to assign them a variable.
> i.e these are 4 of the fields I am concerned with
>
> CID
> CPWD
> CCOMPANY
> CDATE
BEGIN owa_util.mime_header('text/html',FALSE);
owa_cookie.send('compcode',compcode); owa_cookie.send('acronym',acronym);
END;
ccompany owa_cookie.cookie; --
cacronym owa_cookie.cookie; --
BEGIN ccompany := owa_cookie.get('compcode'); cacronym := owa_cookie.get('acronym');
htp.p(htf.strong(lower(Initcap((cacronym.vals(1))))));
htp.fontclose(); htp.p('</TD>'); htp.p('</TR>'); htp.tableclose;
else
htp.p('<center>');
htp.p('<table border=0 cellspacing=0 cellpadding=0 width=600>');
htp.p('<TR>'); htp.p('<TD align=left valign=top>'); htp.fontOpen( ccolor => '#ff0000', cface => 'Arial', csize => '0'); htp.p('You have not logged on ( guest mode , functionality limited )'); htp.fontclose(); htp.p('</TD>'); htp.p('</TR>'); htp.tableclose;
END IF; END;
-----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum Received on Tue Aug 11 1998 - 01:30:32 CDT
![]() |
![]() |