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 - rainerwallenius

Pages: [1] 2
1
Web Server - Ask For Help / NetTalk 12 and threads
« on: December 15, 2021, 10:33:42 PM »
Hi all!

To serve many users at the same time, I set global filenames in Webhandler processlink. If I use THREAD files and filenames this does not seem to work anymore in NT12. Any idea What have I missed?

Thanks again
:: rainer

2
Hi all

A little mystery here. Have converted my app from NT9 to NT11 successfully. One of my browses has child records. When a record is deleted, it actually deletes two records. No obvious reason, at least not what I could think of. Please, any directions would be appreciated.

Thanks
:: rainer

3
Web Server - Ask For Help / OPENSSL -problem with pem-files
« on: January 16, 2020, 03:47:56 AM »
Hi all

I have a showstopper here. I am finally switching from NT9 to NT11.

I need to put new version in piloting. For piloting purposes, I should use the same directory as the current version, mostly because of all data is relative to the application directory.

If I copy caroot.pem and dh2048.pem -files into application directory (and everything else), the NT11 -version runs fine. But the NT9 -version won't start anymore, I get and OPENSSL -error (OpenSSL_Uplink(24091000,09): No OPENSSL_Applink). If I rename the PEM-files, they will run.

My question is: What can I do to be able to run both versions at the same time from the same directory?

Any comments are appreciated

:: rainer

4
Hi guys.

Never sen this before but this has now happened once and most likely at least another time.
A user enters login-page.
Suddenly user sees a completely other users username and the password is also set.
The users are from completely different organisations and there is no possibility that the username/pw has been used on the computer.

I can not think of anything else than the session has somehow been transferred from one connection to another.

This has caused major concernes in our organsation. Any ideas would be appreciated.

:: rainer

Nettalk 9.18
StringTheory 2.53
Clarion 10


5
Web Server - Ask For Help / Two or more lookups in EIP
« on: August 04, 2016, 01:07:36 AM »
Hi everyone

Is it possible to have two or more lookup fileds in one browse containing EIP-fields?
It seems that I can have only one lookup-field in the browse. I have two fields and if I check both as Lookup -fields in EIP, only one works. Both works if either one is unchecked for Lookup.
Is this a limit/rule or am I making something wrong?

:: rainer

6
Hi all

If I uncheck "Compress dynamic data" on the performance tab, this seems to break html. the page is sent without html header: [Fiddler] Response Header parsing failed.
NT 8, 8.48 - not tested with NT9 yet
Any ideas?

Thanks
:: rainer

7
Web Server - Ask For Help / Cookie domain
« on: March 08, 2016, 12:38:02 AM »
Hi all.

I need to set a cookie with a slightly different domain.
If I set a cookie, it creates a cookie with domain
myprogram.mydomain.com.

What i need is cookie with plain
mydomain.com.

I can see that setcookie() takes domain as a parameter (p_web.CookieQueue.Domain) but it does not seem to do the magic.

Any ideas?

TIA

:: rainer

8
Web Server - Ask For Help / Drop list limit when EIP
« on: January 14, 2016, 12:50:08 PM »
Hi

There seems to be a size limit in how many entries there can be in a drop list when used in browse EIP-field. I have a customer has some 240 entries in two separate drop-fields in a browse. This works fine in a form Drop.
The drop list options-list get truncated and this breaks the entire page.
Any way to override this?

(Yes I know, I shall discuss if they really need so many entries - there is an option to close non-active entries)

I could change the fields to lookups but I already have one lookup and I can not get two lookup fileds in same browse.

Any Ideas anybody?

:: rainer



9
Web Server - Ask For Help / Re-triggering server side code on form
« on: July 27, 2015, 02:57:01 AM »
Hi all

I have some memory forms that execute some sort of longish routines, mainly imports or exports that can take a while (several minutes). My question is: What mechanism might trigger a new request for that routine - browser sends a new post or keep-alive or something?
Is this something that only I have managed to mess up or have others noticed this?
I have solved this by adding a session variable that is set when the process starts and if it is set, the process itself does not start again.
It would be interesting to know the cause of this behaviour and how it could be better handled.

:: rainer

10
Web Server - Ask For Help / Download or email a (PDF)-report
« on: June 03, 2015, 01:05:55 AM »
Hi everybody,

I would like to have some guidelines on how to make reports so that the end user could decide if he wants to have them emailed or on screen.
I currently send one report to email and on screen. The problem is thet I currently have to use two different procedures to accomplish this.
I suspect there is a way to have only one report with the ability dynamically behave in both ways.
I have some 50 reports and I would like to maintain only one copy of the report procedure. It would be great to be able to dynamically let the end user decide if he wants to for example mail the report or use ftp for some archiving system and so on.

Anybody done this, any ideas are appreciated.
:: rainer

11
Web Server - Ask For Help / Google analytics anyone?
« on: May 20, 2015, 03:23:43 AM »
Hi

Has anyone used Google Analytics (or any other statistic, advertising stuff) in a Nettalk-served application?
Do You put google´s code on every procedure?
Does it slow down the show?
... or is it even useful?

:: rainer

12
Web Server - Ask For Help / Plus-sign in droplist
« on: May 18, 2015, 01:16:47 AM »
Hi all,

I just noticed that if I have a single plus-sign in a drop list (as value), it validates to  a blank.
The values (and display) in the drop are 0, - and +. zero and minus-sign are ok, plus sign clears to a blank.

I solved this by replacing the '+' signs to 'p' on load and change them back to plus on save.

I _think_ this is pretty new behaviour.

:: rainer

13
Web Server - Ask For Help / File mask for file upload
« on: May 12, 2015, 01:19:58 AM »
Hi,

Where can I change the file mask for file upload control. Now it defaults to images (which might be my own doings but I can't find/remember where...)

TIA
:: rainer

14
I have been experimenting with the technique introduced by Bruce at the webinar on thursday.

The idea is to save the sessions at shutdown, replace the binary, restart the server and load back the session queues, all without the users even noticing the service was down a few seconds.

No cigar yet

As Bruce suspected, there seems to be a problem with the session data queue, probably with the pointers to external values (string over 256 bytes I think it was).
There are quite a few of them, for instance browse filters, lastvalue, firstvalue and so on.
So now when the server reads in the data queue containing extvalues, this will lead to a crash.

This is the code at startup
  xml.Load(ThisWebServer._SessionQueue,'Session.xml','SessionQueue','row')
  xml.Load(ThisWebServer._SessionDataQueue,'Sessiondata.xml','SessionDataQueue','row')
  xml.Load(ThisWebServer._BrowseIdQueue,'BrowseIdQueue.xml','BrowseIDQueue','row')
  xml.Load(ThisWebServer._SettingsQueue,'SettingsQueue.xml','SettingsQueue','row')
  xml.Load(ThisWebServer._BrowseSettingsQueue,'BrowseSettingsQueue.xml','BrowseSettingsQueue','row')

In xml this might look like:
Code: [Select]
[font=Verdana][size=10pt]  <row>
    <SESSIONID>81B0Aq73Fte6TOuhAa4sANaHJBaFpn</SESSIONID>
    <TABID/>
    <NAME>henkilotaulu_filter_360032</NAME>
    <VALUE/>
    <PICTURE/>
    <VALUEFORMATTED>0</VALUEFORMATTED>
    <VALUEEXISTS>0</VALUEEXISTS>
    <EXTVALUESIZE>1024</EXTVALUESIZE>
    <EXTVALUELEN>1024</EXTVALUELEN>
    <EXTVALUE>Ø
b   </EXTVALUE>
  </row>
  <row>
    <SESSIONID>81B0Aq73Fte6TOuhAa4sANaHJBaFpn</SESSIONID>
    <TABID/>
    <NAME>henkilotaulu_firstvalue_360032</NAME>
    <VALUE/>
    <PICTURE/>
    <VALUEFORMATTED>0</VALUEFORMATTED>
    <VALUEEXISTS>0</VALUEEXISTS>
    <EXTVALUESIZE>1024</EXTVALUESIZE>
    <EXTVALUELEN>1024</EXTVALUELEN>
    <EXTVALUE>XTm   </EXTVALUE>
  </row>
  <row>
    <SESSIONID>81B0Aq73Fte6TOuhAa4sANaHJBaFpn</SESSIONID>
    <TABID/>
    <NAME>henkilotaulu_lastvalue_360032</NAME>
    <VALUE/>
    <PICTURE/>
    <VALUEFORMATTED>0</VALUEFORMATTED>
    <VALUEEXISTS>0</VALUEEXISTS>
    <EXTVALUESIZE>1024</EXTVALUESIZE>
    <EXTVALUELEN>1024</EXTVALUELEN>
    <EXTVALUE>ÈXm   </EXTVALUE>
  </row>[/size][/font]

Any ideas?

TIA
:: rainer

15
Web Server - Ask For Help / jQuery Flip Switch
« on: April 24, 2015, 02:50:32 AM »
Hi all

has anybody tried (and succeeded) adding a jquery flip switch type control/widget - mainly for mobile user interface?

for instance:
http://demos.jquerymobile.com/1.4.3/flipswitch/

:: rainer

Pages: [1] 2