select app, data from cdata with (nolock) where cfid = and app = and data like '%login=1%'