Grips with latest version

Topics: Developer Forum
Oct 19, 2012 at 4:22 PM

Hello,

Background; I had a basic in house site working on 5.61 on my XP Pro box, which died recently.

Windows 7 64 bit box, fully updated. Configured IIS (AFAIK) as per instructions, configured PDF in DCOM etc, all OK.

Struggling to get to grips with the way this version works.. For example, how do you access features in main.prg (Most of my processing was done this way, by choice, instead of in avfp files). Fore example, how do you now call what used to be default.aspx?action="myfunctionname"

 

Thanks

Coordinator
Oct 19, 2012 at 5:59 PM

that would become myfunctionname.avfp   instead of using default.aspx

main.prg works the same (i.e you don't have to have a .avfp file)

Oct 20, 2012 at 9:27 AM
Edited Oct 20, 2012 at 11:28 AM

Edit: Looked at the showhtmlsource, which passes a param to main.prg, so got it from there. Missed that, sorry.


 

Forgive my slow brain today, but not following that..

 For example, I used to have a html file, with the form action set to say.. "default.aspx?action=searchforthisvalue"

Then main.prg would kick in, carry out the search, then display result in new HTML page.

How does this work in this version?

BTW; still can't fault how easy it is to get it going! :)