Migrating a working MachII (1.8.1) app from OBD to Railo and am getting 'redirectPersistScope' error

21 views
Skip to first unread message

Elliot Russo

unread,
Jul 20, 2014, 9:33:40 PM7/20/14
to mach-ii-for...@googlegroups.com
session is enabled in the application.cfc that extends mach-ii.cfc

full error:

The sesion scope is used by default, however it is configurable if you have disabled the session scope in your application. Add (or change if already defined) the 'redirectPersistScope' property to your XML configuration file with a value of 'application' or 'server.'

tried adding

<property name="redirectPersistScope" value="application"/>


get new error - invalid variable name declaration [application.181._MachIIRequestRedirectPersistStorage]

is there some compatability/compile setting in railo to get this working

Peter J. Farrell

unread,
Jul 20, 2014, 11:12:50 PM7/20/14
to mach-ii-for...@googlegroups.com
Variables in general in CFML can only start with a letter or underscore.  Railo is less picky, but in some places it is.  Looks like your app name is 181 -- change that to _181 or something that starts with a letter. OpenBD and Adobe CF are more strict on this.

Elliot Russo said the following on 07/20/2014 08:33 PM:
--
--
For more options and to unsubscribe, visit this group at http://groups.google.com/group/mach-ii-for-coldfusion?hl=en
 
Git & Wiki: https://github.com/Mach-II/Mach-II-Framework
---
You received this message because you are subscribed to the Google Groups "Mach-II for CFML" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mach-ii-for-coldf...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


-- 
Peter J. Farrell
OpenBD Steering Committee / Mach-II Lead Developer
http://blog.maestropublishing.com
Identi.ca / Twitter: @maestrofjp

Please do not send me Microsoft Office/Apple iWork documents. Send OpenDocument instead! http://fsf.org/campaigns/opendocument/

Elliot Russo

unread,
Jul 21, 2014, 1:27:09 AM7/21/14
to mach-ii-for...@googlegroups.com
Thanks Peter 
 
turned out to be the Mach-II code not liking the root folder for itself to be called 1.8.1 (that is where the 181 was coming from, it solved the redirect error - which was probably a misdirect it terms of what was going on internally
 
Reply all
Reply to author
Forward
0 new messages