On Jan 28, 2010, at 2:44 PM, Darin Schroeder wrote:

> Let's say I present a login screen. The screen itself will load, but
> when I enter information and click submit, there are no form
> variables. I am able to log in using a different method where I pass
> my credentials using parameters, but then I am not able to select any
> items from my web menu system. Again ... no form variables on
> submittal.

Not sure I understand how you have determined there are no form variables. The 
submit button is a form variable itself.

What actually happens when you click the submit button?

Does it go to the script defined in the form action?

What are you looking at to make determination there are no form variables? 
$attributes (fusebox)? _form collection?  local variables with Active4D set to 
auto create local variables?

I seem to remember have a similar problem a few years ago, but it may have been 
before 2004 and the 4dcgi requirement or something with auto create local 
variables. I've since turn off auto create.

It does sound like something is hosed in 4d. Not sure exactly where the form 
variables get populated by 4d, the call in on web connection:

$status:=A4D Execute 4D request 
($2;$varNames;$varValues;$requestInfo;A4D_ResponseHeaderNames;A4D_ResponseHeaderValues;A4D_Response)

May be a place to start. I don't do much 4D, but you may have to put some 
traces in or write to some log/console to aid debugging. 

Might also want to put some log message calls in active4D.a4l

        $method := get request info("*request method") // to see if it is a 
post request


Steve

_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to