I hope this is not off topic, but if someone can ask about hard drive
partitions then I figure anything should go.
I have a page that sets a session variable
<cfset session.myvariable="somevalue">
then I do a cflocation
<cflocation url="SomeNewPage.cfm">
On that page I have a statement that says:
<cfoutput>#session.myvariable#</cfoutput>
Which gives me the error
Error resolving parameter SESSION.myvariable
The session variable myvariable does not exist. The cause of this error is
very likely one of the following things:
The name of the session variable has been misspelled.
The session variable has not yet been created.
The session variable has timed out.
If I take out the cflocation tag and just put that cfoutput statement on the
first page it works correctly. The only thing I can guess is that CF is
going to the new location before it sets the session variable. Anyone got
any suggestions?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists