Ok people,
I have in my application.cfm file my cfapplication tag like so:
<cfapplication name="CourseRegistration" sessionmanagement="Yes"
clientmanagement="Yes" clientstorage="CourseReg">
I set a default for my session loggedON like so:
<cfparam name="session.loggedON" default="false">
Then also in my application.cfm file I watch for seesion.loggedON like so:
<CFIF session.loggedON EQ false>
<!--- Don't send them to the logon screen if the query
string contains logon. This means there are at the logon screen.
If we didn't watch for this it would send the browser into a
loop --->
<CFIF NOT (application.qryString CONTAINS "logon")>
<cflocation addtoken="Yes"
url="index.cfm?Fuseaction=logon.logon">
</CFIF>
</CFIF>
Ok this works fine.
But after the user logs on I cannot write to my session.loggedON i get this
error:
An error occurred while evaluating the expression:
session.d_code = logonUser.DLRCODE
Error near line 62, column 9.
----------------------------------------------------------------------------
----
Attempt to access a Session variable when session management is not enabled.
Use the CFAPPLICATION tag to enable session management.
Note: This feature may have been disabled by the site administrator.
The error occurred while processing an element with a general identifier of
(CFTHROW), occupying document position (266:11) to (266:73).
Now as you can see I have sessionmanagement set to yes above in my
cfapplication tag. I have checked in the admin too and session and client
vars are enabled.
I have never had this problem before. Anyone have any ideas please help :)
Shawn Regan
Applications Developer
pacifictechnologysolutions
______________________________________________________________________
Get Your Own Dedicated Windows 2000 Server
PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
Instant Activation � $99/Month � Free Setup
http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists