Nuts, here is the runtime error:
A runtime error occured at line number: 0
When executing the method:
A4D_ITK_SERVER
Invalid parameters in an Execute command.
When our code calls the following method within 4D from an
Active4D page:
eTraxx_Logging("Log-In";1;get session("user.company");get session
("user.id");session id;"000.000.00.000")
That means the parameters you are passing do not match in number or
type what is declared in the method. Given what you are passing, you
should be declaring this:
C_TEXT($1;$3;$4;$5;$6)
C_REAL($2)
That's assuming session{"user.id"} is text, not a number. If it's a
number, it should be:
C_TEXT($1;$3;$5;$6)
C_REAL($2;$4)
BTW, it is much easier (to me at least) to use the session
{"user.company"} syntax rather than 'get session("user.company")'.
Think of the session as an array whose elements are indexed by name.
Regards,
Aparajita
www.aparajitaworld.com
"If you dare to fail, you are bound to succeed."
- Sri Chinmoy | www.srichinmoylibrary.com
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/