FAQ part 5: Troi
URL Plug-in questions
Table
of Contents
| Part
1
| Part
2
| Part
3 File Plug-in
| Part
4 Text Plug-in
| Part 5 URL Plug-in
Back to top
URL Plug-in Questions
Q. Can you use Troi URL Plug-in to
access a file hosted with the Web Companion?
Yes, this is possible. However it won't work always if you
are trying to access a URL on the same computer. This is the
case if you use the same FileMaker Pro Client for the Web
Companion and Troi URL Plug-in.
Q. How do I use Troi URL Plug-in in
combination with a proxy server?
To use Troi URL Plug-in with proxy servers, you don't need
to do anything. Troi URL Plug-in can automatically determine
your proxy server settings. It uses Internet Config on both
Mac OS 9 and the network settings on Mac OS X. On Windows it
uses the settings of Internet Options in Control Panel.
See also this proxy settings
page for more detailed information.
Q. Can Troi URL Plug-in manage and set
cookies?
(UPDATED) Yes, with version 1.8.1 it is now possible to use
the TURL_SetCookies function to set the cookies text. On
Windows the plug-in will also send cookie information
automatically to a server when the cookie information was
stored by the operating system earlier.
See the user guide and examples for more information.
Q. When calling Troi URL Plug-in in
Mac OS 9.x, I occasionally see error codes that aren't
documented. What do these error codes mean?
See our OSErrrs
database. See also
Apples TechInfo NM66.
Q. Which SSL certificates are used by
Troi URL Plug-in?
Mac OS 9
Troi URL Plug-in uses URL Access 2.0 on Mac OS 9.0. Below
are the root certificates contained in URL Access 2.0 on Mac
OS 9.0:
- GTE CyberTrust Global Root
- GTE CyberTrust Root
- GTE CyberTrust Root 2
- GTE CyberTrust Root 3
- GTE CyberTrust Root 4
- GTE CyberTrust Root 5
- RSA Data Security, Inc.
- TC TrustCenter Class 0 CA
- TC TrustCenter Class 1 CA
- TC TrustCenter Class 2 CA
- TC TrustCenter Class 3 CA
- TC TrustCenter Class 4 CA
- Thawte Personal Basic CA
- Thawte Personal Freemail CA
- Thawte Personal Premium CA
- Thawte Premium Server CA
- Thawte Server CA
- Verisign, Inc. Class 1 G2
- Verisign, Inc. Class 1 Primary
- Verisign, Inc. Class 2 G2
- Verisign, Inc. Class 2 Primary
- Verisign, Inc. Class 3 G2
- Verisign, Inc. Class 3 Primary
- Verisign, Inc. Class 4 G2
These additional certificates were are used with Mac OS
9.1:
- Baltimore CyberTrust Code Signing Root
- Baltimore CyberTrust Mobile Root
- Baltimore CyberTrust Root
Mac OS X
At the moment we don't have information which
certificates are used on Mac OS X.
Windows
On Windows the certificates of the system are used. When
running on Windows XP, you can see or add certificates by
opening Internet Options in Control Panel. On the Content
tab click Certificates.
Q. Can Troi URL Plug-in set the
content type and other headers in the HTTP
request?
Yes, this is now possible in version 1.8.1 and later.
It is not possible to change or add headers in earlier
versions, including 1.3. For some web servers this is a
problem, as they expect data to have a certain content type
of encoding.
Note that the header "Content-Type", which the URL plug-in
sends, differs per platform:
|
Windows
|
Content-Type:
application/x-www-form-urlencoded
|
|
Mac OS 9.x
|
Content-Type:
application/x-www-form-urlencoded
|
|
Mac OS X and v 1.8.1
|
no Content-Type header; can be specified
separately if needed.
|
|
Mac OS X and v1.3
|
Content-Type: text/plain
|
Also the plug-in version 1.3 does not have the ability to
add items to the header for Keep Alive, Language and so
forth.
Q. How can the URL plug-in send the
data of radio buttons and checkboxes in a
form?
With the URL plug-in you can also post forms that have radio
buttons or checkboxes in it.
Say you have this web page with a FORM on it:
|
<HTML>
<HEAD> <TITLE>Test Form</TITLE>
</HEAD>
<BODY>
<P>TEST</P>
<FORM ACTION="/cgi-sys/formmail.pl"
METHOD=POST>
<P><INPUT TYPE=checkbox
NAME=checkbox1 VALUE=value1
CHECKED>checklabel</P>
<P><INPUT TYPE=radio NAME=myradio
VALUE=radiovalue2>radiolabel 1
<INPUT TYPE=radio NAME=myradio
VALUE=radiovalue2>radiolabel 2</P>
<P>input data:<INPUT TYPE=text NAME=field1
VALUE="" SIZE=32><BR>
<INPUT TYPE=submit NAME=Submit VALUE="Submit for
Processing"></P>
</FORM>
</BODY>
</HTML>
|
This FORM has a checkbox, 2 radio buttons and an input
field.
Checkboxes:
In the POST data you only include the checkbox if it is
checked. Otherwise leave it out. When you add it, add the
name, in this case "checkbox1", an equals sign and the
value, here "value1".
So in the case above you add: "checkbox1=value1" for this
checked box.
Radiobuttons:
For a radiobutton you include the value of the
radiobutton that is selected. In this example "myradio", an
equals sign and the value of the chosen radiobutton, here
"radiovalue2".
Putting it together you need to send this as the POST
data (the 3rd parameter):
checkbox1=value1&myradio=radiovalue2&field1=typeddata&Submit=Submit+for+Processing
Q. How can I see what POST data is sent to a web server?
If you are on Windows try the free URL Recorder from Paessler. This program helps to find out the URLs and the POST DATA strings that a user sends to a web server while surfing a sequence of URLs. Look here:
<http://www.paessler.com/download/freeware/urlrecorder/>  
Back to top
Other Questions?
If your question is not answered here, please look in the
documentation that comes with the plug-in. We will be adding
more to this FAQ. If you have suggestions please
.
|