Question
problem with sessions
Have been using cold fusion 5.0 for years, all has been ok,
recently started using CF MX7 and CF 8, now maybe I'm being stupid,
but this problem seems to happening on any version of CF above 5.0.
Basically keeping the same CF5 code, after migrating to MX7 or CF
8, session information randomly appears on the wrong client
machine, which is obviously a security risk. Example I might be
logged in as kamal, then suddenly I would get the session
information for Greg or some other person. Can anybody help me with
this?? Should I be using some sort of unique cftoken session
variable?
Using Mx7 on w2k3 with sql server 2008
Example code for getting login information
<cfquery name="check_login" datasource="#Application.StoreDSN#">
SELECT uid, studentid from student_info
WHERE (studentid =#session.id#) AND (uid ='#trim(session.uid)#')
</cfquery>
Using Mx7 on w2k3 with sql server 2008
Example code for getting login information
<cfquery name="check_login" datasource="#Application.StoreDSN#">
SELECT uid, studentid from student_info
WHERE (studentid =#session.id#) AND (uid ='#trim(session.uid)#')
</cfquery>