coldfusion

SSO Implementation ColdFusion

给你一囗甜甜゛ 提交于 2020-06-29 18:59:51
问题 This is a very basic question. I want to do an SSO integration using ColdFusion but do not know where to start. I found the website ssoeasy.com through a google search, but am very confused about how to use it and where to find documentation. I think it has something related with cfldap or cfhttp but not sure what and where: <cfhttp method="get" url="http://testsso.com/login.cfm"> </cfhttp> 回答1: It really depends on what role you want to play in an SSO ecosystem. Are you an app in a larger

SSO Implementation ColdFusion

吃可爱长大的小学妹 提交于 2020-06-29 18:56:48
问题 This is a very basic question. I want to do an SSO integration using ColdFusion but do not know where to start. I found the website ssoeasy.com through a google search, but am very confused about how to use it and where to find documentation. I think it has something related with cfldap or cfhttp but not sure what and where: <cfhttp method="get" url="http://testsso.com/login.cfm"> </cfhttp> 回答1: It really depends on what role you want to play in an SSO ecosystem. Are you an app in a larger

SSO Implementation ColdFusion

匆匆过客 提交于 2020-06-29 18:56:21
问题 This is a very basic question. I want to do an SSO integration using ColdFusion but do not know where to start. I found the website ssoeasy.com through a google search, but am very confused about how to use it and where to find documentation. I think it has something related with cfldap or cfhttp but not sure what and where: <cfhttp method="get" url="http://testsso.com/login.cfm"> </cfhttp> 回答1: It really depends on what role you want to play in an SSO ecosystem. Are you an app in a larger

ColdFusion: cfspreadsheet localized date format

≯℡__Kan透↙ 提交于 2020-06-14 07:56:05
问题 My question is basically the same as this one, but I'm not in a position to change the date format in the Excel file: If I format the cell as date english (NZ), ie Date Type "*14/03/2001", it displays right in the spreadsheet, but when I try to upload it switched the day and month. But If I change the format to a custom "dd/mm/yyyy" format [it works fine]. So the question is this: Can I change the way <cfspreadsheet /> handles date formats? Or even better, get a Date object directly from the

How to reset session variables

不打扰是莪最后的温柔 提交于 2020-06-12 15:27:58
问题 I'm developing an app. in CF10. It's been decided that this app. will be opened through a link that is created in a dot net app. Users log in & out through the dot net application in order to see the link. When users click on that link they can access the CF application. This link passes a user id, I'm using this user id to create session.userid in onSessionStart at application.cfc : <cfset session.userid = #Trim(URL.userid)#> The problem is, when I log out and log back in as a different user

How to reset session variables

£可爱£侵袭症+ 提交于 2020-06-12 15:26:27
问题 I'm developing an app. in CF10. It's been decided that this app. will be opened through a link that is created in a dot net app. Users log in & out through the dot net application in order to see the link. When users click on that link they can access the CF application. This link passes a user id, I'm using this user id to create session.userid in onSessionStart at application.cfc : <cfset session.userid = #Trim(URL.userid)#> The problem is, when I log out and log back in as a different user

How to reset session variables

我的未来我决定 提交于 2020-06-12 15:25:54
问题 I'm developing an app. in CF10. It's been decided that this app. will be opened through a link that is created in a dot net app. Users log in & out through the dot net application in order to see the link. When users click on that link they can access the CF application. This link passes a user id, I'm using this user id to create session.userid in onSessionStart at application.cfc : <cfset session.userid = #Trim(URL.userid)#> The problem is, when I log out and log back in as a different user

How to reset session variables

让人想犯罪 __ 提交于 2020-06-12 15:25:24
问题 I'm developing an app. in CF10. It's been decided that this app. will be opened through a link that is created in a dot net app. Users log in & out through the dot net application in order to see the link. When users click on that link they can access the CF application. This link passes a user id, I'm using this user id to create session.userid in onSessionStart at application.cfc : <cfset session.userid = #Trim(URL.userid)#> The problem is, when I log out and log back in as a different user

ColdFusion: Is it safe to leave out the variables keyword in a CFC?

心不动则不痛 提交于 2020-06-12 05:05:00
问题 In a ColdFusion Component (CFC), is it necessary to use fully qualified names for variables-scoped variables? Am I going to get myself into trouble if I change this: <cfcomponent> <cfset variables.foo = "a private instance variable"> <cffunction name = "doSomething"> <cfset var bar = "a function local variable"> <cfreturn "I have #variables.foo# and #bar#."> </cffunction> </cfcomponent> to this? <cfcomponent> <cfset foo = "a private instance variable"> <cffunction name = "doSomething"> <cfset

Regex Match whole word string in coldfusion

Deadly 提交于 2020-05-13 05:44:05
问题 Im trying this example first example keyword = "star"; myString = "The dog sniffed at the star fish and growled"; regEx = "\b"& keyword &"\b"; if (reFindNoCase(regEx, myString)) { writeOutput("found it"); } else { writeOutput("did not find it"); } Example output -> found it second example keyword = "star"; myString = "The dog sniffed at the .star fish and growled"; regEx = "\b"& keyword &"\b"; if (reFindNoCase(regEx, myString)) { writeOutput("found it"); } else { writeOutput("did not find it"