To find Coldfusion cookies possibility question. Thanks.
Posted on 2013-10-28
I have yet another question and was wondering if this was possible.
Let's say I have 3 or more dynamically generated cookies named as such:
The dynamic part of each cookie above when it was being created was the 4 numbers generated behind after the word flower.
I know that to check if a page contains a certain cookie, I can use the statement below:
There is a cookie for flower3345!
However, I was wondering if it were possible to check if a page containing any of the 3 or more 'flower' cookies?(There may be other cookies existing on the page but I am not interested in those) As these cookies are named dynamically, it would be hard to hardcode the names...
I was thinking that somehow, there might be a way to check for the existence of a cookie by searching for cookies with the word 'flower' in the front?
It would be awesome if I could get some light shed on this. Thanks very much guys!