Hi folks,
Having a couple of problems with a module running on MM9. I think some of this has been discussed on the forums, but I couldn't find the posts.
I have a module that can be triggered to import a big data set by hitting a URL that logs into admin and does some processing. The URL looks about like this:
This works fine under MM5, and it works OK on MM9 when we enter it into a browser. But for some reason it fails when called by a PHP script using the "curl" function. In that case, it gets to the admin page for the correct module, but it doesn't trigger the automatic execution.
I should mention that the variables whose names start with PRSM_ are simple global variables. There are no form fields on the page with those names. Not sure if that's relevant, but I've noticed that MM9 admin pages have some complex processing for passing data in and out.
I recall that some other developers have apps that make similar remote calls to admin. Can you tell me what's wrong in this case?
And a related problem: I tried to view the source code of the admin page, to see if that would give me some clues. But when I use the "View Frame Source" option in Firefox, I always get a "Document Expired" error message. Is there a fix for that?
Thanks --
Having a couple of problems with a module running on MM9. I think some of this has been discussed on the forums, but I couldn't find the posts.
I have a module that can be triggered to import a big data set by hitting a URL that logs into admin and does some processing. The URL looks about like this:
Code:
http://OurDomain.com/mm5/admin.mvc?Store_Code=SSSSS&Action=LOGN&username=UUUUU& &password=PPPPP&Screen=SMOD&Module_Type=fulfill&Tab=MAGIC_PRISM& PRSM_remote=1&PRSM_keepproc=1&PRSM_procold=&PRSM_proclimit=&PRSM_process=in-manuf
I should mention that the variables whose names start with PRSM_ are simple global variables. There are no form fields on the page with those names. Not sure if that's relevant, but I've noticed that MM9 admin pages have some complex processing for passing data in and out.
I recall that some other developers have apps that make similar remote calls to admin. Can you tell me what's wrong in this case?
And a related problem: I tried to view the source code of the admin page, to see if that would give me some clues. But when I use the "View Frame Source" option in Firefox, I always get a "Document Expired" error message. Is there a fix for that?
Thanks --
Comment