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.
1
Web Server - Ask For Help / Re: Slow to Close
« on: August 23, 2024, 03:42:55 AM »
Hi Vinnie,
Thank you for the reply
In the Debug output I posted, this was just by pressing the close button after a minute of running the server.
For information here, on my development VM, the server closes instantly. Not the same on the deployed server.
Mark
Thank you for the reply
In the Debug output I posted, this was just by pressing the close button after a minute of running the server.
For information here, on my development VM, the server closes instantly. Not the same on the deployed server.
Mark
2
Web Server - Ask For Help / Slow to Close
« on: August 23, 2024, 12:21:22 AM »
Good Morning All.
I have a NT webserver (Multi DLL) that is very slow at closing down either when started as a service or on the desktop.
It is taking ~ 20 seconds to close, as can be seen in the debug output.
19 04:10:26.099 89528 IBSServer.exe [NetDLL] [1] SimpleCloseSocket() : p_lpSSL_CTX start
20 04:10:26.099 89528 IBSServer.exe [NetDLL] [1] SSL_Our_Close() : Before CTX Free 27202432 CTX#=0
21 04:10:26.099 89528 IBSServer.exe [NetDLL] [1] SSL_Our_Close() : After SSL_CTX+Free
22 04:10:26.099 89528 IBSServer.exe [NetDLL] [1] SimpleCloseSocket() : p_lpSSL_CTX end
23 04:10:26.224 89528 IBSServer.exe [NetDLL] [2] CallBackWindowSrc() : NTThread Event : 523 start
24 04:10:46.748 89528 IBSServer.exe [NetDLL] [1] SimpleCloseSocket() : p_lpSSL_CTX start
25 04:10:46.748 89528 IBSServer.exe [NetDLL] [1] SSL_Our_Close() : Before CTX Free 27373032 CTX#=0
26 04:10:46.748 89528 IBSServer.exe [NetDLL] [1] SSL_Our_Close() : After SSL_CTX+Free
27 04:10:46.748 89528 IBSServer.exe [NetDLL] [1] SimpleCloseSocket() : p_lpSSL_CTX end
28 04:10:46.748 89528 IBSServer.exe [NetDLL] [1] SimpleCloseSocket() : Error 10038 Ignored.
29 04:10:46.748 89528 IBSServer.exe [NetDLL] [1] SimpleCloseSocket() : p_lpSSL_CTX start
30 04:10:46.748 89528 IBSServer.exe [NetDLL] [1] SSL_Our_Close() : Before CTX Free 125743376 CTX#=0
Is this expected behaviour or am I able to debug more to work through the issue.
Thanks
Mark
I have a NT webserver (Multi DLL) that is very slow at closing down either when started as a service or on the desktop.
It is taking ~ 20 seconds to close, as can be seen in the debug output.
19 04:10:26.099 89528 IBSServer.exe [NetDLL] [1] SimpleCloseSocket() : p_lpSSL_CTX start
20 04:10:26.099 89528 IBSServer.exe [NetDLL] [1] SSL_Our_Close() : Before CTX Free 27202432 CTX#=0
21 04:10:26.099 89528 IBSServer.exe [NetDLL] [1] SSL_Our_Close() : After SSL_CTX+Free
22 04:10:26.099 89528 IBSServer.exe [NetDLL] [1] SimpleCloseSocket() : p_lpSSL_CTX end
23 04:10:26.224 89528 IBSServer.exe [NetDLL] [2] CallBackWindowSrc() : NTThread Event : 523 start
24 04:10:46.748 89528 IBSServer.exe [NetDLL] [1] SimpleCloseSocket() : p_lpSSL_CTX start
25 04:10:46.748 89528 IBSServer.exe [NetDLL] [1] SSL_Our_Close() : Before CTX Free 27373032 CTX#=0
26 04:10:46.748 89528 IBSServer.exe [NetDLL] [1] SSL_Our_Close() : After SSL_CTX+Free
27 04:10:46.748 89528 IBSServer.exe [NetDLL] [1] SimpleCloseSocket() : p_lpSSL_CTX end
28 04:10:46.748 89528 IBSServer.exe [NetDLL] [1] SimpleCloseSocket() : Error 10038 Ignored.
29 04:10:46.748 89528 IBSServer.exe [NetDLL] [1] SimpleCloseSocket() : p_lpSSL_CTX start
30 04:10:46.748 89528 IBSServer.exe [NetDLL] [1] SSL_Our_Close() : Before CTX Free 125743376 CTX#=0
Is this expected behaviour or am I able to debug more to work through the issue.
Thanks
Mark
3
Web Server - Ask For Help / Re: NT8.69, NetWebPage Won't close files if user isn't logged in and Security is set
« on: January 28, 2016, 10:58:24 PM »
Bruce, the title does say NetWebPage
4
Web Server - Ask For Help / NT8.69, NetWebPage Won't close files if user isn't logged in and Security is set
« on: January 28, 2016, 11:33:30 AM »
Upon ticking User must be logged in, the following code is generated by the templates.
If p_web.GetSessionLoggedIn() = 0
If p_web.site.LoginPageIsControl
p_web.MakePage(p_web.site.LoginPage)
else
p_web._SendFile(p_web.site.LoginPage)
End
Return
End
At the top of the procedure is:
GlobalErrors.SetProcedureName('ViewPlan')
DO OpenFiles
At the end of the procedure is:
do CloseFiles
GlobalErrors.SetProcedureName()
However if the user isn't logged in then the calls to close the files isn't made, is this correct?
Regards
Mark
If p_web.GetSessionLoggedIn() = 0
If p_web.site.LoginPageIsControl
p_web.MakePage(p_web.site.LoginPage)
else
p_web._SendFile(p_web.site.LoginPage)
End
Return
End
At the top of the procedure is:
GlobalErrors.SetProcedureName('ViewPlan')
DO OpenFiles
At the end of the procedure is:
do CloseFiles
GlobalErrors.SetProcedureName()
However if the user isn't logged in then the calls to close the files isn't made, is this correct?
Regards
Mark
5
Web Server - Ask For Help / Re: Memory Block Free'd Twice Error
« on: January 15, 2016, 06:42:55 AM »
Hi Kevin
Topspeed at the moment, but moving to SQL when I can get the crashes out of the way.
Topspeed at the moment, but moving to SQL when I can get the crashes out of the way.
6
Web Server - Ask For Help / Re: Memory Block Free'd Twice Error
« on: January 15, 2016, 04:09:21 AM »
Hi Trent
I would be very interested in knowing if this problem was solved as I am having similar issues with my web server at the moment. Random crashes and lockups. I had put this down to problems with the IMDD, but am unable to prove this.
Kind regards
Mark
I would be very interested in knowing if this problem was solved as I am having similar issues with my web server at the moment. Random crashes and lockups. I had put this down to problems with the IMDD, but am unable to prove this.
Kind regards
Mark
7
Web Server - Ask For Help / Re: Domain Name
« on: August 19, 2014, 04:18:16 AM »
Hi Rainer
I think the answer you gave is for code signing applications, whereas Brian is seeking to have a signed certificate for a website.
Regards
Mark Sarson
I think the answer you gave is for code signing applications, whereas Brian is seeking to have a signed certificate for a website.
Regards
Mark Sarson
8
Web Server - Ask For Help / Bug with Cancel Prompt NT 8.23 Clarion 9.1 V8
« on: August 19, 2014, 02:20:08 AM »
I have tested this on both a normal forms and a popup forms.
I have the cancel button of the form set to prompt for conformation, but the prompt never occurs.
I do have a small example app if you need it.
Regards
Mark
I have the cancel button of the form set to prompt for conformation, but the prompt never occurs.
I do have a small example app if you need it.
Regards
Mark
9
Web Server - Ask For Help / Popup on a popup form problems
« on: August 04, 2014, 08:42:22 AM »
Hi All
I have a from that contains 4 tabs. One of the tabs contains a browse that shows the user a list of files they have uploaded to the server.
The browse has a standard insert button seen here: http://screencast.com/t/dawILXTKJ
The Add Plan form show's nicely (another popup form) and I can upload a file (pdf for instance) and a record of that file is added to the tps file I am browsing on. (checked in topscan)
But on return to the browse, the file is not showing the newly added row.
I have a debugout on LOC:FilterWas for that browse and the data there seems fine.
If I save the main form and then re-edit it, I do see the item in the browse, but if I add any other items, they to do not show.
Any thoughts?
Regards
Mark
I have a from that contains 4 tabs. One of the tabs contains a browse that shows the user a list of files they have uploaded to the server.
The browse has a standard insert button seen here: http://screencast.com/t/dawILXTKJ
The Add Plan form show's nicely (another popup form) and I can upload a file (pdf for instance) and a record of that file is added to the tps file I am browsing on. (checked in topscan)
But on return to the browse, the file is not showing the newly added row.
I have a debugout on LOC:FilterWas for that browse and the data there seems fine.
If I save the main form and then re-edit it, I do see the item in the browse, but if I add any other items, they to do not show.
Any thoughts?
Regards
Mark
10
Web Server - Ask For Help / Reset Field if Browse has been edited
« on: August 23, 2011, 07:11:50 AM »
I have a web form with tabs, on one tab is a browse (procedure).
I want to reset a button if any edits are made to the rows of this browse.
Is this possible?, and if so how
Regards
Mark
I want to reset a button if any edits are made to the rows of this browse.
Is this possible?, and if so how
Regards
Mark
11
Web Server - Ask For Help / ONSAVE set to stay, but only saves the first time in a form.
« on: August 21, 2011, 09:05:33 AM »
Hi
I have a form without a browse.
I call this from from a menu option with the link like so:
'updatemainpassenger?change_btn=change&_bidv_=' & p_web.AddBrowseValue('WebMenu','Customer',CUS:KeyCustomerID,p_web.GSV('CustomerID')) & '&PressedButton=change_btn'
When the user saves their data from this form, I need the form to stay open on the same tab as it was on before the save.
I have tried many ways to do this without avail.
I thought I was onto something when I tried this in the ! Start of "Set Form Action" embed,
p_web.SetValue('onsave','stay') ! Make the target be the same form
This works with the first save I make, but then any save after that, the post update is not being called, and if I return to the form later, any changes I make on the second and any other attempt after that, changes are lost.
Any help in resolving this would be much appreciated.
Regards
Mark Sarson
I have a form without a browse.
I call this from from a menu option with the link like so:
'updatemainpassenger?change_btn=change&_bidv_=' & p_web.AddBrowseValue('WebMenu','Customer',CUS:KeyCustomerID,p_web.GSV('CustomerID')) & '&PressedButton=change_btn'
When the user saves their data from this form, I need the form to stay open on the same tab as it was on before the save.
I have tried many ways to do this without avail.
I thought I was onto something when I tried this in the ! Start of "Set Form Action" embed,
p_web.SetValue('onsave','stay') ! Make the target be the same form
This works with the first save I make, but then any save after that, the post update is not being called, and if I return to the form later, any changes I make on the second and any other attempt after that, changes are lost.
Any help in resolving this would be much appreciated.
Regards
Mark Sarson
12
Web Server - Ask For Help / Re: Possible Bug in p_web.GetValue
« on: May 31, 2011, 12:02:32 AM »
Hi Bruce
Thanks for the reply.
The data was coming from the URL.
I was just confused for a little while as my decode of the data was not returning the results as expected.
It was easy to solve when I worked out that I needed to replace the spaces back to pluses.
Cheers
Mark
Thanks for the reply.
The data was coming from the URL.
I was just confused for a little while as my decode of the data was not returning the results as expected.
It was easy to solve when I worked out that I needed to replace the spaces back to pluses.
Cheers
Mark
13
Web Server - Ask For Help / Possible Bug in p_web.GetValue
« on: May 30, 2011, 04:33:55 PM »
Hi,
I'm testing the SagePay payment gateway. All is going quite well apart from a problem with the returned information from Sage.
They use Base64 encoding of a simple xor encryption, and this is a small snippet of what they return for a value called Crypt:
MQVW5mDy8cLwV3cWEqXHt3b0AUdx8+Yj08eFFoFF4K
However when I use MyVar = p_web.GetValue('Crypt'), MyVar contains
MQVW5mDy8cLwV3cWEqXHt3b0AUdx8 Yj08eFFoFF4K
Notice the + has been replaced by a space.
Now I have fixed my code up to replace the spaces GetValue returns with the + and I can decode without any problem.
So my question is, is this expected behavior or is there a bug?
Kinds regards
Mark
I'm testing the SagePay payment gateway. All is going quite well apart from a problem with the returned information from Sage.
They use Base64 encoding of a simple xor encryption, and this is a small snippet of what they return for a value called Crypt:
MQVW5mDy8cLwV3cWEqXHt3b0AUdx8+Yj08eFFoFF4K
However when I use MyVar = p_web.GetValue('Crypt'), MyVar contains
MQVW5mDy8cLwV3cWEqXHt3b0AUdx8 Yj08eFFoFF4K
Notice the + has been replaced by a space.
Now I have fixed my code up to replace the spaces GetValue returns with the + and I can decode without any problem.
So my question is, is this expected behavior or is there a bug?
Kinds regards
Mark
14
Web Server - Ask For Help / Re: Refreshing a Browse on another tab.
« on: May 21, 2011, 05:49:54 AM »
Figured this out now, just need to call the procedures Im refreshing in the PostAction routine.
Thanks
Thanks
15
Web Server - Ask For Help / Refreshing a Browse on another tab.
« on: May 19, 2011, 12:44:20 AM »
Hi
If I have tabs as follows:
<TabA>
Browse 1
</Tab>
<TabB>
Browse 2
</TabB>
And I change an item in Tab B, how can I refresh the browse in Tab A?
Regards
Mark
If I have tabs as follows:
<TabA>
Browse 1
</Tab>
<TabB>
Browse 2
</TabB>
And I change an item in Tab B, how can I refresh the browse in Tab A?
Regards
Mark