Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

REP-51018 -- cookie method is not working :(

zaferaktanDec 23 2005 — edited Oct 21 2010
Trying to invoke a simple report from a simple form by using web.show_document()

if I pass the userid=x/y@z then it work fine

if I try to use the cookie method as defined in the OTN whitepaper "Secure Web.Show_Document() calls to Oracle Reports", I am bumping to the REP-51018 error.

Tried the metalink and found primarily 2 documents, one (note#279938) is suggesting using
SYNCHRONIZE; prior to invoking the WEB.SHOW_DOCUMENT(...), which I did - not worked,

then I read the document (#309652.1) which tells that the cookie method will not work if not using fully qualified domain name -- I have a fully qualified domain name and I can see in the browser cookie settings that the domain is set correctly.

I also edited the basejini.htm and basejpi.htm files and added the suggested entries as shown in the same OTN whitepaper (page #9). And recycled the entire iAS server after all the editing (reports.sh, formsweb.cfg, etc).

I can see the cookie is saved on the client browser and the userid is displayed in the JInitiator control window.

----------------------------------------------------------------------------------------------------
...
FrmReportsInteg0: Debugging true
FrmReportsInteg0: Adding new userid string "zafer/mutlu@jtls5"
FrmReportsInteg0: Default cookie domain: .rolands.com
FrmReportsInteg0: set RW_AUTH10g
FrmReportsInteg0: Arguments: encryptionKey=reports9i; Reports version=RW10g
FrmReportsInteg0: Cookie value for RW10g is: zafer/mutlu@jtls5;1135302256455:30
FrmReportsInteg0: Encoded cookie value is: W3zbSs88ClXKCO9kxqPbyQiyd120sKakxxmhtfgtZoUe4Q==
FrmReportsInteg0: Complete cookie string is: userid=W3zbSs88ClXKCO9kxqPbyQiyd120sKakxxmhtfgtZoUe4Q==
FrmReportsInteg0: Added domain ".rolands.com" to cookie
FrmReportsInteg0: Generated Cookie String: userid=W3zbSs88ClXKCO9kxqPbyQiyd120sKakxxmhtfgtZoUe4Q==; domain=.rolands.com; path=/
liveconnect: JSObject::eval(document.cookie="userid=W3zbSs88ClXKCO9kxqPbyQiyd120sKakxxmhtfgtZoUe4Q==; domain=.rolands.com; path=/")
liveconnect: the url of the applet is http://raptus.rolands.com:7778 and the permission is = false
FrmReportsInteg0: NS Cookie Set
network: Connecting http://raptus.rolands.com:7778/forms/lservlet;jsessionid=0a0a0a2230d8a457f8e558fe43b4b3e5a9b908500738.e38Oc3aQc3ySci0TbheLaNuSah50n6jAmljGr5XDqQLvpAe with proxy=DIRECT
network: Connecting http://raptus.rolands.com:7778/forms/lservlet;jsessionid=0a0a0a2230d8a457f8e558fe43b4b3e5a9b908500738.e38Oc3aQc3ySci0TbheLaNuSah50n6jAmljGr5XDqQLvpAe with cookie "userid=W3zbSs88ClXKCO9kxqPbyQiyd120sKakxxmhtfgtZoUe4Q=="
network: Connecting http://raptus.rolands.com:7778/forms/lservlet;jsessionid=0a0a0a2230d8a457f8e558fe43b4b3e5a9b908500738.e38Oc3aQc3ySci0TbheLaNuSah50n6jAmljGr5XDqQLvpAe with proxy=DIRECT
network: Connecting http://raptus.rolands.com:7778/forms/lservlet;jsessionid=0a0a0a2230d8a457f8e558fe43b4b3e5a9b908500738.e38Oc3aQc3ySci0TbheLaNuSah50n6jAmljGr5XDqQLvpAe with cookie "userid=W3zbSs88ClXKCO9kxqPbyQiyd120sKakxxmhtfgtZoUe4Q=="

-----------------------------------------------------------------------------------------------------------------------------
The only thing I can see is this line:

liveconnect: the url of the applet is http://raptus.rolands.com:7778 and the permission is = false

if this is the problem how can I fix it?

What is wrong with this cookie method? What I am doing wrong?

Any input is appreciated very much.
Zaf.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 18 2010
Added on Dec 23 2005
18 comments
5,902 views