|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
<cflogin> and application.cfm issue
here's my code...
<cfcase value="grades"> <cfoutput>#student_search#</cfoutput> <cfinclude template="studprivate/modulestud.cfm" /> <cfoutput>#student_grades#</cfoutput> the folder "studprivate" is protected by <cflogin>/application.cfm. the #student_grades# contains <cfsavecontent> with a <cfinvoke> tag. i was expecting that by executing the last statement, the studprivate/loginform.cfm will execute and ask for validation and to continue #studgrades#, instead, it was ignored. any ideas why my security was ignored. thanks again |
|
#2
|
|||
|
|||
|
At the top of your "studprivate/modulestud.cfm" put this code......
<cfif GetAuthUser() EQ ""> <cflocation url="studprivate/loginform.cfm" addtoken="no"> </cfif> |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > <cflogin> and application.cfm issue |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|