This is seriously weird.

When I submit my form it hang it doesn’t go anywhere (not sure if its in a loop or not, I think not).

However if I simply comment out the following line

arrayAppend( session.form.flowFollowed, variables.thisStep );

than the form submits fine – there is nothing on the second page either that might sent it back and thus causing a loop.

Is this something someone has experienced before?

 

variables.thisStep = "step01a";

if ( structKeyExists( form, "btnSubmit_" & variables.thisStep ) )

{

            // Continue if the premise is occupied by the company

            if ( form.isOccupyingPremise )

            {

                        variables.nextStep = "step02a";

            }

            // Otherwise capture the occupier details

            else

            {

                        variables.nextStep = "step01b";

            }

           

            // Insert this step into the session.form

            structInsert( session.form, variables.thisStep, duplicate( form ), true );

            //arrayAppend( session.form.flowFollowed, variables.thisStep );

            getPageContext().getResponse().sendRedirect( variables.nextStep & ".cfm" );

}

 

________________________________

Taco Fleur - E-commerce Development Manager

Shelco Searches & Services

An Authorised ASIC Information Broker

www.shelco.com.au

Ph: + 61 7 3236 2605

 

---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to