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.


Messages - rainerwallenius

Pages: 1 2 [3] 4 5
31
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

32
Web Server - Ask For Help / Re: Google analytics anyone?
« on: May 21, 2015, 09:25:06 PM »
Hi Kevin and thanks for Your input.

Yes, I am afraid You are right but there is a drawback in this approach. It involves one of my least favorite ingredients: work  :P

:: rainer

33
Web Server - Ask For Help / Re: Google analytics anyone?
« on: May 20, 2015, 08:54:03 AM »
Okay, here is what I have been thinking.

The payroll system can be entered in demo mode. Demo is pretty fully funtional - except that the data is reset every night.
What I would like to know is: what are they interested in, what do they try out - which procedures interest them? We could use that info on demo/marketing.

The system consists of some 50 reports, 80 browses and tons of file exports.

Another question is of course about the paying users: Are there some procedures or methods they visit or do several times - that could be an implication of bad design from my side.

I have been planning of making my own "analytic tool" but Google's tool might give me better background info than just an ip-adress.

:: rainer

34
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

35
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

36
Web Server - Ask For Help / Re: File mask for file upload
« on: May 12, 2015, 03:53:02 AM »
Hi Bruce

great!
In the future I am afraid to ask my questions because they seem to add to your work load ;)

:: rainer

37
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

38
Great news Bruce.

I managed to save sessiondata in a tps-file but a template-option is so much nicer!

:: rainer

39
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

40
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

41
Hi

I might be wrong (again) but valid br -tag in xhtml is <br />, not </br>

:: rainer

42
Web Server - Ask For Help / Re: SSL issue
« on: April 21, 2015, 10:20:11 AM »
Hi,

I changed the SSL-method from SSL3 (NET:SSLMethodSSLv3) to TLS (NET:SSLMethodTLSv1) and that solved a similar problem that You described. I think NET:SSLMethodTLSv1 is in NT6 too.

Look in netsimp.clw and netall.inc

Hope this might be helpful

:: rainer

43
Web Server - Ask For Help / Re: Broadcast message to all users
« on: April 21, 2015, 03:33:46 AM »
Bruce, that would be soooo coool!

44
Web Server - Ask For Help / Re: Broadcast message to all users
« on: April 21, 2015, 02:50:28 AM »
Hi and thanks for your efforts to help me.

Yes, I am aware of the consept of being logged in or not. "When you replace the binary people are going to lose their place.  Do it at a time that might affect the least number of people"

That is my point. Sometimes i I want to replace the binary even if some users are logged in. They lose their their place, yes, their session is over, yes. But I want to make them aware that this will shortly happen (or that this has happened if they havent done anything during the time - my session timeout is thirty minutes).

So my question still is: is there a way to communicate with user that their session will be (brutally) aborted soon.
I remember there was discussion of a session timeout counter but can't find it anymore.

My plan is to set a global variable (time of shutdown) and let webhandler generate an alert or message when users make new requests. New logins can of course be blocked.

I usually make announcments a few days ahead that there will be an upcoming update at say ten o'clock in the evening but It would be nice to sometimes make a fixupdate ex tempore.

Any ideas are appreciated
Thanks

:: rainer

45
Web Server - Ask For Help / Re: Broadcast message to all users
« on: April 20, 2015, 09:22:36 AM »
Hi Bruce,

Sorry, I was unclear.

I have people logged into the webserver app. (They are "in")
Sometimes I would like to tell them that soon I will close the application and replace the binary and restart the server app. A few seconds break but this will close their session and they will need to log in again. (They are "out")

It is not good user experience if you are for instance in browse and trying to update a record and suddenly you are "kicked out" with no explanation. The menu exist, some links seem to work but since you don't have a session nothing good happens because you should be logged in.

Does this make any sense?

:: rainer

Pages: 1 2 [3] 4 5