Re: session vars, CFCs and CFHTTP
I'm using session vars to maintain whether or not a user is logged in on our
site. The only problem is is that the session vars seem to be lost after I call
a CFC that then does a CFHTTP post.
Does anyone know how I maintain the session vars?
All the best
Why do you say they are lost? Are you sure you did not just misplace them?
In other words nothing about CFC's or CFHTTP would intrinsically destroy
session variables in memory. But they could easily not have access to
the scope as you desire if you do not understand how templates and cfml
code are associated with a given session scope when it is running in memory.