gsr
04/27/2024, 3:11 PMMonte Chan
04/27/2024, 10:28 PMquetwo
04/28/2024, 3:04 AMaliaspooryorik
want that sessions to be avlailble for PHP to useTo share data you have in your CF session scope with another application would require you to store your session data in something like Redis and then get ColdFusion / PHP / Ruby or whatever to get the data from Redis. This is far from simple though.
aliaspooryorik
login connection between php and coldfusion
aliaspooryorik
cfhttp request to literally pass across the username and password to any other system's login page when you login to your ColdFusion application. I do not recommend this though - and if the other system is built with any kind of security in mind it will require a CSRF token so that will fail immediately. Assuming weak security, then that will log you into both applications but still won't share data. You can only do it at login as that's the only time you'll have a plain text password (as the user typed it in). It is not a great solution so I wouldn't recommend it at all though, but your question is vague as to what you are hoping to achieve. Oh and never send username / password as a GET request (just to be clear - I do not recommend this approach, just mentioning so that you understand the pitfalls)aliaspooryorik
gsr
04/28/2024, 10:52 AM