This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
Web Server - Ask For Help / Event:Timer on WebServer Object window
« on: April 25, 2012, 06:48:21 AM »
Greetings:
On the WebServer Object window, I have the timer set to 60000. I placed some code in the EVENT:Timer method on the window but the code never gets fired. What is the dynamic on this and how do I work around it? Thanks!
Shawn
On the WebServer Object window, I have the timer set to 60000. I placed some code in the EVENT:Timer method on the window but the code never gets fired. What is the dynamic on this and how do I work around it? Thanks!
Shawn
2
Web Server - Ask For Help / Re: Form Method POST vs GET
« on: March 16, 2012, 04:19:56 AM »
Thanks for the response guys!
This is actually how I came across the problem. Using the same form, I use a GET method and was able to read all the value pairs. The ONLY thing I changed was the form method - changing it to a POST.
Sent to web server on a POST:
Sent to web server on a GET:
I do know that if I were using PHP I would hae to parse the POST before I could read the values. Any help would be appreciated. Thanks.
This is actually how I came across the problem. Using the same form, I use a GET method and was able to read all the value pairs. The ONLY thing I changed was the form method - changing it to a POST.
Sent to web server on a POST:
Code: [Select]
POST /loginprocess HTTP/1.1
Host: localhost:881
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Referer: http://localhost:881/
Content-Length: 21
Cookie: SESSIONID=24973831
Pragma: no-cache
Cache-Control: no-cache
userid=33&password=33
Sent to web server on a GET:
Code: [Select]
GET /loginprocess?_dc=1331900230067&userid=ee&password=ee HTTP/1.1
Host: localhost:881
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:10.0.2) Gecko/20100101 Firefox/10.0.2
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive
X-Requested-With: XMLHttpRequest
Referer: http://localhost:881/
Cookie: SESSIONID=24973831
I do know that if I were using PHP I would hae to parse the POST before I could read the values. Any help would be appreciated. Thanks.
3
Web Server - Ask For Help / Form Method POST vs GET
« on: March 15, 2012, 10:49:43 AM »
Using NTWS. If I submit a form with a method of "GET" I am able to read all the passed value pairs using the getValue() method. Submitting the for via a POST method does not allow me to see the value pairs. Is there a different method for getting the value parameters from a POST submit vs. a GET submit? Thanks!!!
4
Web Server - Ask For Help / Re: SSL Certificates
« on: January 31, 2011, 07:11:02 AM »
Kevin, Bruce:
Thanks - I did forget to copy the required libraries. As always, I appreciate your help and this forum. Cheers!
Shawn
Thanks - I did forget to copy the required libraries. As always, I appreciate your help and this forum. Cheers!
Shawn
5
Web Server - Ask For Help / SSL Certificates
« on: January 30, 2011, 01:51:53 PM »
Greetings all:
Created a web app using an SSL cert created with openSSL. Everything works great on the development machine but when I move the application (along with all the web folders, etc) to a production machine, it wont work. It must be something with the certificates because turning off SSL and the app works as expected on the production machine. Ideas? I am a bit stumped at this point. (PS Firewall allows for both 443 and the webserver port). Thanks!
Shawn
Created a web app using an SSL cert created with openSSL. Everything works great on the development machine but when I move the application (along with all the web folders, etc) to a production machine, it wont work. It must be something with the certificates because turning off SSL and the app works as expected on the production machine. Ideas? I am a bit stumped at this point. (PS Firewall allows for both 443 and the webserver port). Thanks!
Shawn
6
E-Mail - Ask For Help / Re: Email using Gmail
« on: January 24, 2010, 06:47:03 AM »
Hey Graham:
That nailed it. Thanks for your help.
That nailed it. Thanks for your help.
7
E-Mail - Ask For Help / Email using Gmail
« on: January 21, 2010, 10:56:54 AM »
Gurus:
Does anyone have an example of sending an email using gmail as an account? Thanks! Cheers!
Shawn
Does anyone have an example of sending an email using gmail as an account? Thanks! Cheers!
Shawn
8
FTP - Ask For Help / Large Files
« on: July 06, 2009, 06:53:37 AM »
Gurus:
Using FTP Client to transfer some fairly large PDF files but the file transfers never complete. I am not sure what the threshhold is but the smaller files come over without a problem. These files are in the range of 1400K to 1500K. Any suggestions on how I can tweak either the server (Filezilla) or the client to receive large files? Thanks.
Using FTP Client to transfer some fairly large PDF files but the file transfers never complete. I am not sure what the threshhold is but the smaller files come over without a problem. These files are in the range of 1400K to 1500K. Any suggestions on how I can tweak either the server (Filezilla) or the client to receive large files? Thanks.
9
Web Server - Ask For Help / Re: Unable To Read this Post
« on: June 22, 2009, 08:22:52 AM »
Hey Bruce:
I'm afraid it doesn't. This is an XMLHttpRequest post. I am attempting to get the parameters using getValue. This procedure that handles the request is getting called but the parameters are not being read. Any suggestions?
Posting a small example is a lot harder than it sounds.
I can read a "regular" post but not an XMLHttpRequest post.
I'm afraid it doesn't. This is an XMLHttpRequest post. I am attempting to get the parameters using getValue. This procedure that handles the request is getting called but the parameters are not being read. Any suggestions?
Posting a small example is a lot harder than it sounds.
I can read a "regular" post but not an XMLHttpRequest post.
10
Web Server - Ask For Help / Upload file with javascript
« on: June 17, 2009, 11:44:02 AM »
Gurus!!!!
The javascript file I need to use for uploading files produces the following post:
POST /frmdatahandler HTTP/1.1
Host: localhost:88
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11 (.NET CLR 3.5.30729)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://localhost:88/
Cookie: SESSIONID=1177683760
Content-Type: multipart/form-data; boundary=---------------------------41184676334
Content-Length: 642
-----------------------------41184676334
Content-Disposition: form-data; name="recordid"
-----------------------------41184676334
Content-Disposition: form-data; name="documentname"
Wdwewewr
-----------------------------41184676334
Content-Disposition: form-data; name="documentfile"; filename="menu.gif"
Content-Type: image/gif
GIF89aú
How do I upload the document file from this post? Thanks for any insight.
The javascript file I need to use for uploading files produces the following post:
POST /frmdatahandler HTTP/1.1
Host: localhost:88
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11 (.NET CLR 3.5.30729)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://localhost:88/
Cookie: SESSIONID=1177683760
Content-Type: multipart/form-data; boundary=---------------------------41184676334
Content-Length: 642
-----------------------------41184676334
Content-Disposition: form-data; name="recordid"
-----------------------------41184676334
Content-Disposition: form-data; name="documentname"
Wdwewewr
-----------------------------41184676334
Content-Disposition: form-data; name="documentfile"; filename="menu.gif"
Content-Type: image/gif
GIF89aú
How do I upload the document file from this post? Thanks for any insight.
11
Web Server - Ask For Help / Unable To Read this Post
« on: June 17, 2009, 11:36:33 AM »
Gurus!!!!
I wold love for Nettalk to be able to read the parameters line from this using getValue():
POST /frmdatahandler HTTP/1.1
Host: localhost:88
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11 (.NET CLR 3.5.30729)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
X-Requested-With: XMLHttpRequest
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: http://localhost:88/
Content-Length: 69
Cookie: SESSIONID=1080762147
Pragma: no-cache
Cache-Control: no-cache
cmd=fetch&recordid=8f52727b-5833-11de-ac7b-5e0a17576d1f&parentid=TEST
As it stands now, I am not able to retrieve the parameters with a getValue method. Any assistance would be greatly appreciated.
I wold love for Nettalk to be able to read the parameters line from this using getValue():
POST /frmdatahandler HTTP/1.1
Host: localhost:88
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.11) Gecko/2009060215 Firefox/3.0.11 (.NET CLR 3.5.30729)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
X-Requested-With: XMLHttpRequest
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: http://localhost:88/
Content-Length: 69
Cookie: SESSIONID=1080762147
Pragma: no-cache
Cache-Control: no-cache
cmd=fetch&recordid=8f52727b-5833-11de-ac7b-5e0a17576d1f&parentid=TEST
As it stands now, I am not able to retrieve the parameters with a getValue method. Any assistance would be greatly appreciated.
12
Web Server - Ask For Help / Re: Form Submit
« on: May 19, 2009, 11:13:47 AM »
Hey guys:
Update to this issue:
The XHR is sending and retrieving responses via the POST method, which does not pass the parameters around in constructive way for NetTalk. I set the method to 'GET', which exposes the record data, but not to the web browser.....It allows me to read the parameters using the getValue function Could this cause any collateral damage outside of an SSL connection? Thanks.
Shawn
Update to this issue:
The XHR is sending and retrieving responses via the POST method, which does not pass the parameters around in constructive way for NetTalk. I set the method to 'GET', which exposes the record data, but not to the web browser.....It allows me to read the parameters using the getValue function Could this cause any collateral damage outside of an SSL connection? Thanks.
Shawn
13
Web Server - Ask For Help / Re: Form Submit
« on: May 15, 2009, 07:05:59 PM »
***Update on this question:
I guess the reason why I am having difficulty getting the form parameters (which I found is by using p_web.getValue()), is becuase the post comes into the server as and XHR. Now the question is:
Is there a way to in NetTalk to parse this to get the field values from the form that is being posted?
I guess the reason why I am having difficulty getting the form parameters (which I found is by using p_web.getValue()), is becuase the post comes into the server as and XHR. Now the question is:
Is there a way to in NetTalk to parse this to get the field values from the form that is being posted?
14
Web Server - Ask For Help / Form Submit
« on: May 15, 2009, 03:37:55 PM »
Greetings!
When I submit a form to a URL, how do I identify the fields and values submitted? I tried p_web.GetValue('fieldname') but it returns nothing - though I know a value is there. Any suggestions?
Thanks.
When I submit a form to a URL, how do I identify the fields and values submitted? I tried p_web.GetValue('fieldname') but it returns nothing - though I know a value is there. Any suggestions?
Thanks.
Pages: [1]