|
Mailing Lists
|
Home / Groups / ColdFusion Talk (CF-Talk)
Checking SESSION variableFlashGuy wrote: > Hi, > > I have session variable that contains the directory name > "session.strFileName". I also have another session variable > "session.ShowMe" that contains multiple directory names > (comma-delimited) which i'm setting from my database. Basically, i > need to check if the directory "session.strFileName" exists in the > variable "session.showme". > > Example: > > session.strfilename = 'mywork' > > session.showme = > 'c:\temp\dir1,c:\temp\dir2,c:\temp\mywork,c:\temp\mywork2' use a struct, it's more reliable & faster than a comma delimetered lists z |
June 19, 2013
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||