Aparajita,
The form is posting:
<form name="homeVisit"
action="/1/processing/homeVisit_process.a4d?Save=1&hvid=0"
method="post">
The script: homeVisit_process.a4d is running twice.
The last line of this script is:
UT.RDR("homeVisit.a4d?hvid="+string([Home_Visit]ID)+"&view=1")
The after first time the next line of code above executes, the next line of
code to execute is the first line of the same script:
homeVisit_process.a4d
The second time the last line of code executes, the last line of code
correctly redirects:
UT.RDR("homeVisit.a4d?hvid="+string([Home_Visit]ID)+"&view=1")
method "RDR"($tRDR)
$tMsg:="Rdr From: "+requested url+" to /1/"+$tRDR
Web_Log($tMsg)
Redirect("/1/"+$tRDR)
end method
Thanks for your question!
David
-----Original Message-----
From: Aparajita Fishman [mailto:[email protected]]
Sent: Wednesday, March 20, 2013 9:59 AM
To: [email protected]; Active4D Developer Discussion List
Subject: Re: [Active4d-dev] script runs twice
> Since upgrading from v5.0.437 to v6.0.r11, I'm having a bug with an
> a4d script executing twice.
What exactly is running twice, the page/script that calls UT.RDR? What is
the name of that script?
_______________________________________________
Active4D-dev mailing list
[email protected]
http://list.aparajitaworld.com/listinfo/active4d-dev
Archives: http://active4d-nabble.aparajitaworld.com/