• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 919
  • Last Modified:

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

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?  
1 Solution
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 !
Ed_CLPAuthor Commented:
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.

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:

Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

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.
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".
good points!
Ed_CLP, thanks for the points. did it work?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now