Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Placing Cookies Using OWAS 3.0
Hi,
I not sure if my post is late. but here goes.
In html, cookie(s) placed on the page CANNOT be retrieved from the same
page that was placed. What I did, was to passed in the variables that I
set my cookie on, and, subsequently use the get_cookie to extract the
information I need.
Hope this helps in anyway.
Cheers.
terrence
bonanos_at_yahoo.com wrote:
>
> Hi Scott
>
> > I'm creating a web application which will have a login. I prompt the user
> > for their login and password using a form, and then send that to a procedure.
> > In the procedure, I check a table in the database and compare the login and
> > password. If correct, I send a cookie to the user, and then call one of two
> > main menus. Which menu procedure I call depends on the attributes of the
> > user. In one menu, I just return some links, but in the other menu I do a
> > select statement using the cookie I had just placed.
> >
> > Well, with the non-cookie menu, I have no problem. But, when I try to
> > load the menu which calls the cookie, I get an error. After MUCH debugging, I
> > have managed to narrow down the problem:
> >
> > It seems that there is a delay time between the placement of a cookie and
> > the ability to access it.
>
> I have the exact same problem, I just tell the users to reload their page.
> I wonder if this is an oracle WAS problem.
> A solution may be to tell the browser to commit. but how would you do that?
>
> If you do find a soultion please post on this group
>
> -----== Posted via Deja News, The Leader in Internet Discussion ==-----
> http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
Received on Sun Aug 30 1998 - 21:32:45 CDT
![]() |
![]() |