Recent

Author Topic: Doubts about the behavior FPWebModule to pass parameters.  (Read 2049 times)

andersonscinfo

  • Full Member
  • ***
  • Posts: 132
Doubts about the behavior FPWebModule to pass parameters.
« on: December 02, 2013, 07:27:25 pm »
Good afternoon staff when trying to use FPWebModule I came across a situation that I have no idea of the operation, they added 2 Actions being "main" and "sub", I put the page to Default, and the Action Request:

AResponse.Content: = 'Query from the main action:' + ARequest.QueryString;


Action and the "sub":

     AResponse.Content: = 'query the action sub:' + ARequest.QueryString;


so far so good, when I put the url address

    localhost:8080/main ou main?param=value


it returns correctly the main Action, when I

     localhost: 8080/sub


correctly returns the contents of the Action sub, but if I do so

    localhost:8080/sub?newparam=value


thought he should continue returning the Action sub, but do not know why it returns the page that this Action as Default, which is the correct way to do this?

I'm using the httpserver.

Attached is an example.

Att
Anderson Junior

 

TinyPortal © 2005-2018