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] 2
1
Web Server - Ask For Help / Webserver as service
« on: July 04, 2008, 02:21:02 AM »
I used selfservice and winevent and followed the docs to get NetTalk Web Server to operate as a service. On XP I got it working but with Vista the service can be created but doesn't start. The jumpstart example shipped with selfservice does work okay with Vista. Anyone have a clue?
Majodi
Majodi
2
Web Server - Ask For Help / Multiple sites - one server
« on: July 01, 2008, 07:33:47 AM »
Is it possible with NetTalk Web Server to run multiple sites (each having their own domain url) on one single server? I know with "normal" servers this is possible.
Majodi
Majodi
3
Web Server - Ask For Help / Re: SSL DLL's in path
« on: June 30, 2008, 11:57:28 PM »
Ah, thanks.
Majodi
Majodi
SSL needs the following 4;
libeay32.dll
libssl32.dll
ssleay32.dll
msvcr71.dll
Cheers
Bruce
4
Web Server - Ask For Help / Re: SSL DLL's in path
« on: June 26, 2008, 11:37:55 PM »
Bruce, you say 4 DLL's. I only copied 3. This is what I have in my 3rdParty Bin directory:
accini.exe
c60netx.dll
c6_vista_fix.exe
libeay32.dll
libssl32.dll
MakeCertificates
msvcr71.dll
openssl.exe
pwutil.dll
ssleay32.dll
Majodi
accini.exe
c60netx.dll
c6_vista_fix.exe
libeay32.dll
libssl32.dll
MakeCertificates
msvcr71.dll
openssl.exe
pwutil.dll
ssleay32.dll
Majodi
Hi Majodi,
Having the DLL's in the path is not ideal. I strongly recommend always having them in the application directory. The 4 DLL's work together, and the ones I've seen in various paths are not always of the same version. So, as with all DLL's, having them in the application folder is a very quick way to avoid all kinds of versioning hassles.
Cheers
Bruce
5
Web Server - Ask For Help / Re: RestoreValue(), GetSessionValue()
« on: June 26, 2008, 11:33:02 PM »
Yes Bruce. Thank you!
Majodi
Majodi
Ok, now for the harder bit... This bit is about the use of StoreValue, and RestoreValue.
...
helpful?
Cheers
Bruce
6
Web Server - Ask For Help / Re: Client-side processing
« on: June 26, 2008, 11:05:39 AM »
Thanks, I need to look into this. If I don't get it to work I'll get back to you.
Majodi
Majodi
7
Web Server - Ask For Help / SSL DLL's in path
« on: June 26, 2008, 07:22:54 AM »
I had a hard time to get the SSL examples to work. Somehow the server was not listening to the secure port. Finally I found out what the problem was by unchecking suppress errors. It turned out that it could not load libssl32.dll, libeay32.dll and msvcr71.dll.
When I copy these in the working directory (where the exe is) everything is fine. I checked the path and even tested the path, the 3rdParty/bin dir is in the path.
Someone have a clue?
Thanks,
Majodi
When I copy these in the working directory (where the exe is) everything is fine. I checked the path and even tested the path, the 3rdParty/bin dir is in the path.
Someone have a clue?
Thanks,
Majodi
8
Web Server - Ask For Help / Client-side processing
« on: June 26, 2008, 04:31:25 AM »
I have a few drop lists on a form. The drop lists are created from a file. They show a string but they save an integer (the id from the record choosen). Works great.
But now I need the choosen string from two of the drop lists to prepare the contents of a "description" field. I managed to fill the description field with the choosen values but of course these are the id's of the choosen records. At the server side I don't have the displayed strings from the drop lists.
Now I guess I need some client-side processing. I saw this checkbox "send new value to server" [onChange]. My question is; how can I use this to catch a change in my server code and could I code it such that I can send the string in stead of the id?
Majodi
But now I need the choosen string from two of the drop lists to prepare the contents of a "description" field. I managed to fill the description field with the choosen values but of course these are the id's of the choosen records. At the server side I don't have the displayed strings from the drop lists.
Now I guess I need some client-side processing. I saw this checkbox "send new value to server" [onChange]. My question is; how can I use this to catch a change in my server code and could I code it such that I can send the string in stead of the id?
Majodi
9
Web Server - Ask For Help / Re: RestoreValue(), GetSessionValue()
« on: June 26, 2008, 04:21:01 AM »
I think this cleared itself, I now test if a value already exist, saw that in the generated code so I guess that will be the way.
Majodi
Majodi
Two additional questions:
What is the lifespan of a SessionValue? Is it killed only when the session is closed?
And what happens if the same "variable" name is used more then once? I had SSV in the %ProcedureSetup but of course in the web paradigm each procedure is closed and re-opened each time and so the SSV is called each time again.
Should I test if a value is already there or is this something the SSV method is doing for me?
Majodi
10
Web Server - Ask For Help / Re: RestoreValue(), GetSessionValue()
« on: June 26, 2008, 01:48:33 AM »
Two additional questions:
What is the lifespan of a SessionValue? Is it killed only when the session is closed?
And what happens if the same "variable" name is used more then once? I had SSV in the %ProcedureSetup but of course in the web paradigm each procedure is closed and re-opened each time and so the SSV is called each time again.
Should I test if a value is already there or is this something the SSV method is doing for me?
Majodi
What is the lifespan of a SessionValue? Is it killed only when the session is closed?
And what happens if the same "variable" name is used more then once? I had SSV in the %ProcedureSetup but of course in the web paradigm each procedure is closed and re-opened each time and so the SSV is called each time again.
Should I test if a value is already there or is this something the SSV method is doing for me?
Majodi
11
Web Server - Ask For Help / Re: RestoreValue(), GetSessionValue()
« on: June 25, 2008, 11:25:24 PM »
Okay clear. I'll play around with this and see how it goes.
Thanks,
Majodi
Thanks,
Majodi
...
Use GetSessionValue(gsv) or SetSessionValue(ssv)
and in my experience you stay out of the deep end, as things become more "server oriented" . Yes, within a user/session context I *think* of these as Global.
...
12
Web Server - Ask For Help / Re: RestoreValue(), GetSessionValue()
« on: June 25, 2008, 08:20:21 AM »
Okay. The first part of your reply worried me a bit because of its fuzzyness <g>.
But I guess the message is to take control yourself and use the SessionQueue. Forgive me if this is a stupid question, but if I'm not doing strange stuff, i.e. stay within the same netweb app without disconnecting, one user has it's own unique SessionId during the use of the complete app (all pages served). Correct?
So if I put someting in the SessionQ from one procedure I can get it in another procedure. So I can signal values between procedures like Global data. Right?
I would expect a SetSessionValue and a GetSessionValue. But now you say:
>>If you want to Store a Value into the SessionQueue (if the Value exists) then use a call to p_web.StoreValue('something')
and
>>If you set a File Field to something in hand-code, do a SetSessionValue (SSV for short) of the field as well.
Could you elaborate a bit?
Thanks,
Majodi
But I guess the message is to take control yourself and use the SessionQueue. Forgive me if this is a stupid question, but if I'm not doing strange stuff, i.e. stay within the same netweb app without disconnecting, one user has it's own unique SessionId during the use of the complete app (all pages served). Correct?
So if I put someting in the SessionQ from one procedure I can get it in another procedure. So I can signal values between procedures like Global data. Right?
I would expect a SetSessionValue and a GetSessionValue. But now you say:
>>If you want to Store a Value into the SessionQueue (if the Value exists) then use a call to p_web.StoreValue('something')
and
>>If you set a File Field to something in hand-code, do a SetSessionValue (SSV for short) of the field as well.
Could you elaborate a bit?
Thanks,
Majodi
If it's working for you then it's probably ok.
...
If you want to Store a Value into the SessionQueue (if the Value exists) then use a call to p_web.StoreValue('something')
So if you want a "best practice" bit of advice;
a) use StoreValue to "save" passed parameters and
b) Always use GetSessionValue (or GSV for short) everywhere else.
and remember
c) If you set a File Field to something in hand-code, do a SetSessionValue (SSV for short) of the field as well.
Cheers
Bruce
13
Web Server - Ask For Help / Re: Generating Excel sheet
« on: June 25, 2008, 07:56:36 AM »
We and our customers are used to Crystal where you just export your report to Excel for playing around.
But maybe we could generate a CSV. I will dig in later.
Gr,
Majodi
But maybe we could generate a CSV. I will dig in later.
Gr,
Majodi
How exactly all this happens does depend a lot on how you are generating the Excel file. Are you generating it on the fly, or are you going to use the output of a report, converted to Excel?
cheers
Bruce
14
Web Server - Ask For Help / Re: Put text somewhere on a form
« on: June 25, 2008, 05:32:11 AM »
Yep, I think the comment field will work.
Thanks,
Majodi
Thanks,
Majodi
15
Web Server - Ask For Help / Generating Excel sheet
« on: June 24, 2008, 11:33:16 PM »
Currently I'm looking into the PDF reporting which is nice. But I already know that I'll need to be able to create Excel sheets. Any idea how this can be done?
Thanks,
Majodi
Thanks,
Majodi
Pages: [1] 2