Cannot lock Session scope?
Hej eksperterJeg har rodet rundt med min hjemmeside i bedste velbehag, indtil denne fejl kom. Jeg forstår intet af den, fordi jeg arbejder sammen med en anden, og han har lavet denne del. Desværre er han væk i et godt stykke tid og nu vil jeg gerne have siden færdig. Og dennefejl er det eneste vi mangler. Da jeg ikke forstår fejlen poster jeg bug information. Jeg har en smule forstand på hvad det handler om:
Cannot lock Session scope.
CFLock cannot be used to lock the application or session shared scopes without these scopes being established through the use of the CFApplication tag. If you want to use the session scope you need to enable session management. Application and/or Session variables must also be enabled in the ColdFusion Administrator.
The error occurred in C:\CFusionMX\wwwroot\minc\pos\poschecklogin.cfm: line 1
1 : <cflock scope="Session" type="ReadOnly" timeout="30" throwontimeout="no">
2 : <cfset Username=Iif(IsDefined("Session.Username"),"Session.Username",DE(""))>
3 : <cfset UserAuthorization=Iif(IsDefined("Session.UserID"),"Session.UserID",DE(""))>
