× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Thanks for the reply Mike.

What I had intended to do, was to have a "Please Wait" screen appear
between a Submit Page and a Show Results page.
And the way I was doing this was, from the Submit Page, I'm passed the Show
Results page's URL, and the call my Please Wait screen.
Once the Please Wait screen was written, the last step was a JavaScript
forward to call the Show Results page.
So, instead of defining every possible parm, I simply used the
QUERY_STRING, and appended it to the passed URL,
      thus getting a    parent.location = "$(URL)?$(QUERY_STRING)"  script.
And it works quit well, except for when certain characters are passed
within the Query String, like in this case a slash "/".

So, after much searching for an answer, I simply took the less popular
path, and ended up defining every possible parm, in a form, and
had a JavaScript, submit it when I needed to.  Yippee.

Thanks, again Mike
dav


David L. Mosley, Jr.
Systems Analyst
2000 CentreGreen Way
Suite 250
Cary, NC 27513

www.dancik.com


                                                                                
                                                      
                      MEovino@xxxxxxxx                                          
                                                      
                      press.com                To:      Web Enabling the AS400 
/ iSeries <web400@xxxxxxxxxxxx>                        
                      Sent by:                 cc:                              
                                                      
                      web400-bounces@x         Subject: Re: [WEB400] Net.Data : 
QUERY_STRING conversion problem?                      
                      idrange.com                                               
                                                      
                                                                                
                                                      
                                                                                
                                                      
                      07/15/2003 09:32                                          
                                                      
                      PM                                                        
                                                      
                      Please respond                                            
                                                      
                      to Web Enabling                                           
                                                      
                      the AS400 /                                               
                                                      
                      iSeries                                                   
                                                      
                                                                                
                                                      
                                                                                
                                                      





Dave,

I'm not too sure, but it looks like QUERY_STRING has been escaped (the "/"
has been translated to a more friendly "%61").  But when you refer to
variable $(a) explicitly, it unescapes it.

Just curious, why are you using the QUERY_STRING anyway?  It may prove to
be problematic for you, as Net.Data does not appear to give you a way to
unescape a string.

Mike E.






  OK, here's the situation. Actually, let me simply show you the code.


  %DEFINE QUERY_STRING = %ENVVAR


  step 1---> $(a) <---

  step 2---> @callcgipgm() <---

  step 3---> $(QUERY_STRING) <---


  OK. Now, what I'm trying to determine is when I pass a value in parameter
"a" of "d/d", my
  results in steps 1 and 2 come up correct, "d/d". But, when step 3 occurs
my result is "d%61d".
  Now, I've scene examples that show that this doesn't have to happen.


  What I was hoping for was for someone to tell me shy it is happening.


  Thanks alot in advance.

  dav












David L. Mosley, Jr.
Systems Analyst
2000 CentreGreen Way
Suite 250
Cary, NC 27513

www.dancik.com


_______________________________________________
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.





_______________________________________________
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.







As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.