NetTalk Central

Show Posts

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.


Topics - Nick

Pages: [1] 2 3
1
Web Server - Ask For Help / Keep-alive
« on: April 23, 2015, 02:48:54 PM »
How does the keep-alive work?
If I uncheck the setting for it I still see "keep alive" in the headings...
In the past I had to use:

p_web._OkSent = 1
p_web.noopchar = ' '
p_web.NoOp()

to prevent a browse from timing out if searching took too long.

Is that still necessary or does the keep alive the same?

TIA,
Nick

2
At one of my customers the server seems to slow down after some time and a webshop search-function finally
produces NO results in a webbrowser screen but in the pagesource I see the (search) results...
Any idea why this can happen?


TIA,
Nick

3
Web Server - Ask For Help / packet.append > 16kB
« on: April 23, 2015, 12:41:36 PM »
In the past the packet string had a limit of about 16kB.
Is that limit still in the packet.append object?
Can I do a send packet > 16 kB ?

TIA,
Nick

4
Web Server - Ask For Help / Google drive?
« on: June 09, 2014, 12:23:39 PM »
Hi Bruce,

Is there or will there be in the nearby future support for connecting to Google drive?
I know they have an API for accessing the drive with web-apps.

Cheers,
Nick

5
Web Server - Ask For Help / PHP support
« on: May 22, 2014, 01:09:56 PM »
Hi,

Can someone tell me at which point of the code the php-page will be send by the NT-webserver (with OddJob)
to the php-exe and at which point of the code the html-result will be returned to NT-webserver and then send
to the browser? Is that done in the Netwebhandler?
I've looked at the php-example but it is not obvious to me where this happens.
 
What makes a NT webserver "PHP aware", how does it know to serve php-pages?
Is it triggered just by the extension ".php"?

Thanks.
Nick
NT 7.34 C9.1

6
Web Server - Ask For Help / Upload where in Webhandler?
« on: April 09, 2014, 04:07:44 PM »
With this html I upload a file to the (NT7) webserver:

<form id="myid" enctype="multipart/form-data" method="post" action="#">
   <input id="fileupload" name="myfile" type="file" />
   <input type="submit" value="submit" id="submit" />
</form>

I see it in the log-post-window of the webserver. Filename, content-length, all is there:

POST /_CONTACT HTTP/1.1
Host: localhost
Connection: keep-alive
Content-Length: 63382
Cache-Control: max-age=0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Origin: http://localhost
User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary7MLSROX1S3Hs9fiY
Referer: http://localhost/_CONTACT
Accept-Encoding: gzip,deflate,sdch
Accept-Language: nl-NL,nl;q=0.8,en-US;q=0.6,en;q=0.4
Cookie: SESSIONID=582481416

------WebKitFormBoundary7MLSROX1S3Hs9fiY
Content-Disposition: form-data; name="myfile"; filename="NetTalk.htm"


Question: where/how can I get to this in the webhandler.
Tried a few things in the handlefile and GetContent but no luck.
Which var's hold the filename and content?

TIA,
Nick

7
One very basic option of html tables is to put multiple items in a table column.
I would suggest that the NetWebBrowse template supports this by something similar
to the "last on row" namely a "last on column" switch that defaults to Yes but can be switch to No with
an option to have a linebreak.

Yes this can be done manually by displaying a var string that is filled with field-values or other workarounds
but I think the purpose of a template is to make things easier.
With mobile in mind this is even more important because vertical expansion is preferred above horizontal.

Nick


8
Web Server - Ask For Help / What report-tool?
« on: February 27, 2014, 04:30:59 AM »
Hi all,

I'm new to reporting in NT. What do you use for reporting?
I guess that reports might be executed simultaneously so I'm not sure if all report-tools work well in this situation.

I think of generating PDF files.

TIA,
Nick

9
Web Server - Ask For Help / Two buttons in one column
« on: February 26, 2014, 06:35:02 AM »
Can I put two buttons in one column (netwebbrowser) on top of each other?

TIA,
Nick

10
Web Server - Ask For Help / Acting on a drop-field
« on: February 24, 2014, 03:24:58 PM »
I use a drop-field on a memory-form with lookup settings using a file and that works fine.
The droplist is filled and I can select a (key)field from that file. The problem is that I want to read more fields
from that file and the "send new value to client side" doesn't seem to work in this situation.
How can I do this?

TIA,
Nick

11
Web Server - Ask For Help / Grayed out
« on: February 22, 2014, 05:42:36 AM »
The "background" is grayed out when using popups.
Can I turn this off just to see how that works?

Nick

12
Web Server - Ask For Help / Front-loading
« on: February 22, 2014, 05:09:51 AM »
When I compile with the front-loading switch on my netwebbrowser proc with a customer file of about 6000 customers
doesn't show any records anymore (also not after a couple of minutes). With this setting off it works fine.

Version 7.34

Nick

13
Web Server - Ask For Help / Problem other-button firing wrong Row ID field
« on: February 11, 2014, 03:11:26 AM »
Hi,

Consider this situation:
The first row in a (netwebbrowse) table is selected (higlighted) and now you click on an other-button on another row.
You do NOT select that other row first but you click directly on the other-button like most people would do.
The effect is that the row ID field of the first row is "passed" through to the procedure that the other-button calls and
a fraction of a second later the row id field of the other-button's row (the right id field, the one you want).

Do you follow me?
I guess what is happening is that the other button fires before the row where it is on is selected and when that
row is selected it fires again. Although it seems like this is happening.

The "include the row id field" setting is of course switch on.

What I want is to send an email and I want to put the email-adddress of the selected customer in the loc:To field of
the EmailFormControl.
So at the start of the EmailFormControl-procedure I pick up the id field with the p_web.GSV() method and read the customer-record
and with the p_web.SSV() I put this in the loc:To.
That works fine but shows the wrong data (only) in the above situation.

I've put a stop() in it that shows that the wrong id field comes in first and after that the right one.
If I leave the stop in the right data appears, probably a timing matter.
If I have no stop there the wrong data is fetched due to the wrong id field (in the above situation).

I checked the standard button for changing and that doesn't show this behaviour.

What's going on here?   Is it the browse-other-button or should I fetch the row id field in the
EmailFormControl at another point?

TIA,
Nick

14
Web Server - Ask For Help / Drop in Edit in place
« on: February 07, 2014, 06:41:40 AM »
What can I do with the choice "Drop" in the Edit in line (NetWebBrowse edit in place).
Thought of a droplist but don't know how and where to put items.
(actually I would like radio-buttons but a droplist can do to)
TIA,
Nick

15
If I click on the "Last" button the table becomes grey and not responding.
This happens while the sort-order is on "name" (customer-file) but not if it's on "number' sort-order.
Clearing the locator (which was not used at all) gets the table back to life.

Seems to happen if it takes to much time (name sort-order).
I see it sometimes with Next and Previous buttons too but then just a fraction of a second.

This happens every time and I have given it plenty time to build the table but even after 15 minutes it is still greyed out.

Cheers,
Nick

Pages: [1] 2 3