Read a cookie in Lotus Domino that was created by a Cold Fusion server

Posted on 2006-05-12
Medium Priority
Last Modified: 2013-12-18
I need to be able to read a cookie that was created by a Cold Fusion application.   I can read cookies that were created by my Domino application, but I can't access the CF created cookie, even though I know the name and can see it on my file system.  Has anyone done this successfully?  
Question by:Ed_CLP
LVL 63

Expert Comment

ID: 16671189
Is it possible that it is being held open by another application/ browser window ?

Have you tried opening it locally as a text file to see what happens ?

I hope this helps !

Author Comment

ID: 16671378
No, nothing is holding the cookie open. I think the issue is that my Domino server is in domain notes.xyz.com and the Cold Fusion server is in domain other.xyz.com.
I'm using the @GetHTTPHeader("cookie") formula to get the cookie.  Is there additonal syntax that I canu se to get a specific cookie, or list of cookies, perhasps based on the domain?
I could use JavaScript instead of the Notes formula command if that would help.

LVL 18

Expert Comment

ID: 16672431
Cross-domain cookies can be (I believe) handled by PHP, but this is a security feature: xyz.com is not a match for store.xyz.com, and for security reasons no browser would consider them a match, else you could troll for cookies you did not set and should not have access to.

There are third-party cookie tools, and I happened across this:

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

LVL 14

Expert Comment

ID: 16673373
have you tried adding an "HTTP_Cookie" (CGI variable) field in your domino form?  If you can't find the CF cookie in the field, you have to make your cookie available for both notes.xyz.com and other.xyz.com domains when creating them in your CF app.

see how to use HTTP_Cookie:

hope this helps.
LVL 14

Accepted Solution

cezarF earned 750 total points
ID: 16673392
if i remember it correctly, you can make your cookie available to both notes.xyz.com and other.xyz.com domains by setting the cookie domain to "*.xyz.com".
LVL 18

Expert Comment

ID: 16674008
good points!
LVL 14

Expert Comment

ID: 16700465
Ed_CLP, thanks for the points. did it work?

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question