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.
106
Web Server - Ask For Help / Favicon in multi-host app
« on: March 22, 2012, 09:35:31 AM »
Bruce,
I still don't see the favicon on the BrowseAsButtons or BrowseServers lists. I have placed a favicon.ico in the web folder of the host and in the dll app web folders.
I also see that the code for the image file on the BrowseServers list is the following:
'http://" & clip(WBS:HostName) & '/favicon.ico'
Since I'm running secure sites on a non-standard port, I changed this to:
'https://" & clip(WBS:HostName) & ':8008/favicon.ico'
This still does not work, my favicons are balnk. I also thought that perhaps the WBS:HostName should be WBS:DLLPath, since we may want a different favicon for each site. Can you help?
Thanks,
Jeff
I still don't see the favicon on the BrowseAsButtons or BrowseServers lists. I have placed a favicon.ico in the web folder of the host and in the dll app web folders.
I also see that the code for the image file on the BrowseServers list is the following:
'http://" & clip(WBS:HostName) & '/favicon.ico'
Since I'm running secure sites on a non-standard port, I changed this to:
'https://" & clip(WBS:HostName) & ':8008/favicon.ico'
This still does not work, my favicons are balnk. I also thought that perhaps the WBS:HostName should be WBS:DLLPath, since we may want a different favicon for each site. Can you help?
Thanks,
Jeff
107
Web Server - Ask For Help / Multi-Site host app
« on: March 11, 2012, 07:39:55 PM »
Bruce,
I have compiled the multi-site host app and the site1 app. I have two issues.
1. When I first log in I see the screen in clip1.png. It seems there are missing icons on the site buttons at the top.
2. Also, I find I cannot open the site1 home page or the site2 static pages. Site1 is on port 8003 and site2 is on port 8080. Both these ports are open on the firewall. See servers.png for a screen shot of the servers list.
I have your Developing Web Applications book, and the chapter dealing with the multi-site host details a full pathname variable set up in the dictionary. When looking at the dictionary for the example app, I don't see the use of a global variable. Instead, I see the use of webservers{prop:name} in the process link embed of the WebHandler. Are both these techniques valid or should I be using one or the other?
I have checked the prototypes of the WebServer and WebHandler procedures and they both have the name attribute entered. Dynamic DLL support is also checked. I'm using C8.8778 ABC and NT 6.25. Any thoughts why I can't get to the two sites?
Thanks,
Jeff
[attachment deleted by admin]
I have compiled the multi-site host app and the site1 app. I have two issues.
1. When I first log in I see the screen in clip1.png. It seems there are missing icons on the site buttons at the top.
2. Also, I find I cannot open the site1 home page or the site2 static pages. Site1 is on port 8003 and site2 is on port 8080. Both these ports are open on the firewall. See servers.png for a screen shot of the servers list.
I have your Developing Web Applications book, and the chapter dealing with the multi-site host details a full pathname variable set up in the dictionary. When looking at the dictionary for the example app, I don't see the use of a global variable. Instead, I see the use of webservers{prop:name} in the process link embed of the WebHandler. Are both these techniques valid or should I be using one or the other?
I have checked the prototypes of the WebServer and WebHandler procedures and they both have the name attribute entered. Dynamic DLL support is also checked. I'm using C8.8778 ABC and NT 6.25. Any thoughts why I can't get to the two sites?
Thanks,
Jeff
[attachment deleted by admin]
108
Web Server - Ask For Help / Server app wizard issue
« on: March 06, 2012, 04:53:03 PM »
Bruce,
I love the serverAppWizard. Really saves a lot of time. However, on my machine it causes the Clarion IDE to crash every time I use it. I must re-open the app which I find was generated properly and everything is fine from that point. Any other reports of this?
Thanks,
Jeff King
I love the serverAppWizard. Really saves a lot of time. However, on my machine it causes the Clarion IDE to crash every time I use it. I must re-open the app which I find was generated properly and everything is fine from that point. Any other reports of this?
Thanks,
Jeff King
109
Web Server - Ask For Help / WebServer on non-standard ports
« on: March 05, 2012, 10:26:58 AM »
Bruce,
I have 5 secure NT apps each running on a port such as 9001, 9002 etc., on a single server. Some users at other institutions find they cannot run these apps, propably due to blocking of non-standard ports. According to the Always SSL example app, a NT server can run on a standard non-secure port and redirect to a secure port. I thought I would try this but I don't believe I can run all 5 servers on say port 80, and then redirect these to individual secure ports. Any suggestions?
Thanks,
Jeff King
I have 5 secure NT apps each running on a port such as 9001, 9002 etc., on a single server. Some users at other institutions find they cannot run these apps, propably due to blocking of non-standard ports. According to the Always SSL example app, a NT server can run on a standard non-secure port and redirect to a secure port. I thought I would try this but I don't believe I can run all 5 servers on say port 80, and then redirect these to individual secure ports. Any suggestions?
Thanks,
Jeff King
110
Web Server - Ask For Help / Certificate folder location?
« on: March 04, 2012, 07:39:31 AM »
I find that when I first turn on SSL in an app, a certificate folder is created in the main app folder, not in the web folder. I understood that the certificates folder should be under the web folder.
So I copied this, with my certificate files, to the web folder and deleted the folder from the main app folder. When I re-run the app the certificate folder under the web folder is emptied and a new one, with my certificate files, is created under the main app folder again. This occurs when running locally. I have not tested this particular app, C8.8778, ABC, NT 6.24, on my server yet. Is this expected behavior?
Thanks,
Jeff King
So I copied this, with my certificate files, to the web folder and deleted the folder from the main app folder. When I re-run the app the certificate folder under the web folder is emptied and a new one, with my certificate files, is created under the main app folder again. This occurs when running locally. I have not tested this particular app, C8.8778, ABC, NT 6.24, on my server yet. Is this expected behavior?
Thanks,
Jeff King
111
Web Server - Ask For Help / NT 6.24 web folder update required.
« on: March 03, 2012, 07:38:50 PM »
Just updated to NT 6.24. Now I constantly get message about needing a web folder update. I checked the netweb.js file and it had version 6.23 at the top. I changed this to 6.24 and compiles no longer show an error. However, I still get the message about pressing ctrl-F5 and this won't go away.
I have deleted the web folder and had it re-created but still no good. Any ideas?
Jeff King
I have deleted the web folder and had it re-created but still no good. Any ideas?
Jeff King
112
Web Server - Ask For Help / Update parent field when value entered in child
« on: February 25, 2012, 02:31:07 PM »
Bruce,
When I enter a value in a field in a child record, upon saving the child record I want to update a similar field in the parent record. I used to use validate Insert/validate Update embed in an earlier NT version but in 6.21 this does not seem to work. What is the recommended method to do this and the recommended embed?
Thanks,
Jeff King
When I enter a value in a field in a child record, upon saving the child record I want to update a similar field in the parent record. I used to use validate Insert/validate Update embed in an earlier NT version but in 6.21 this does not seem to work. What is the recommended method to do this and the recommended embed?
Thanks,
Jeff King
113
Web Server - Ask For Help / SSL: Always redirect to secure site not workin?
« on: February 12, 2012, 01:33:16 PM »
Bruce,
I'm testing redirecting with the Always SSL example app and my own app. The "Always Redirect to a Secure Site" does not seem to be working in either app. I use http://127.0.0.1:88 and expect the example app (web9) to be redirected to the secure site https://127.0.0.1:881 but I get "Unable to connect" in FireFox and "cannot display webpage" in IE9. My firewall is set to allow web9 on both a public and private network. Any known issues or recommendations?
Thanks,
Jeff King
I'm testing redirecting with the Always SSL example app and my own app. The "Always Redirect to a Secure Site" does not seem to be working in either app. I use http://127.0.0.1:88 and expect the example app (web9) to be redirected to the secure site https://127.0.0.1:881 but I get "Unable to connect" in FireFox and "cannot display webpage" in IE9. My firewall is set to allow web9 on both a public and private network. Any known issues or recommendations?
Thanks,
Jeff King
114
Web Server - Ask For Help / Key icon to set access for controls missing
« on: January 19, 2012, 09:22:13 PM »
Bruce,
I'm setting runtime access control for various items on a browse. The small key icon does not appear in the last column on the browse so that I can set these at runtime. Is this key icon supposed to be added automatically or do i need to somehow add it? I do see it on my forms. I'm using NT6.14.
thanks,
Jeff
I'm setting runtime access control for various items on a browse. The small key icon does not appear in the last column on the browse so that I can set these at runtime. Is this key icon supposed to be added automatically or do i need to somehow add it? I do see it on my forms. I'm using NT6.14.
thanks,
Jeff
115
Web Server - Ask For Help / Settings.ini vs embed in NT6/SecWin6 app
« on: January 15, 2012, 01:30:57 PM »
I'm still struggling to get email notification to work in my NT6/SW6 app. I have been working with the web51 example and actually got it to say it sent a password to my email account but nothing ever came through. I have checked my spam filter.
I have set EmailServer, Port, EmailFrom and hostaddress in the settings.ini file. These are duplicated in the SendEmail procedure Accepted embed (except the host address). I deleted the dssw5.tps file and got the message that I was adding a new user with supervisor level access when I tried the Create a Login tab. It also gave a message about sending the password to the email address given. Nothing has come to my email account. The new user does appear in the secwin_operators.tps file, but i cannot use it to log in since I don't have the password. When I try to add more new users I get the message "This user could not be added". I can't get any further. This is a C8 ABC app with NT6.14 and SW 6.03.
Thanks,
Jeff King
I have set EmailServer, Port, EmailFrom and hostaddress in the settings.ini file. These are duplicated in the SendEmail procedure Accepted embed (except the host address). I deleted the dssw5.tps file and got the message that I was adding a new user with supervisor level access when I tried the Create a Login tab. It also gave a message about sending the password to the email address given. Nothing has come to my email account. The new user does appear in the secwin_operators.tps file, but i cannot use it to log in since I don't have the password. When I try to add more new users I get the message "This user could not be added". I can't get any further. This is a C8 ABC app with NT6.14 and SW 6.03.
Thanks,
Jeff King
116
Web Server - Ask For Help / NetTalk 6 with SecWin 6 problem
« on: January 14, 2012, 07:50:38 PM »
I have a NT6 app created with the new wizard. Works great, until I added SecWin 6. Now I get errors that I can't resolve. I have attached a screen shot showing the app and errors, it is in the webserver procedure. Any thoughts on how to resolve this?
Thanks,
Jeff King
[attachment deleted by admin]
Thanks,
Jeff King
[attachment deleted by admin]
117
Web Server - Ask For Help / Conditional filters
« on: January 11, 2012, 10:03:33 AM »
I'm trying to allow for an "Admin" user to see all items in a browse, and all other users to have the browse filtered based on the login name. I created a conditional filter with the condition set as:
p_web.GSV('Pathologist') <> 'Admin'
and the filter set as:
'Spe:Pathologist=<39>'&p_web.GSV('Pathologist')&'<39>'
When logging in as a typical (non Admin) user the filter works and the browse is filtered as expected. However, logging in as "Admin" shows nothing in the browse. I would expect the browse to essentially have no filter when Admin logs in. Any thoughts on this?
Thanks,
Jeff King
p_web.GSV('Pathologist') <> 'Admin'
and the filter set as:
'Spe:Pathologist=<39>'&p_web.GSV('Pathologist')&'<39>'
When logging in as a typical (non Admin) user the filter works and the browse is filtered as expected. However, logging in as "Admin" shows nothing in the browse. I would expect the browse to essentially have no filter when Admin logs in. Any thoughts on this?
Thanks,
Jeff King
118
Web Server - Ask For Help / Copy Button
« on: January 09, 2012, 01:21:39 PM »
I would like to intercept the copy button and check two fields before allowing the copy. In the PreCopy embed I have the following:
If UPPER(Spe:Path_Complete) = 'NO' OR Spe:Path_Complete = ''
Case Message('Pathology not complete.|Please complete pathology before copying.', 'Warning', Icon:Exclamation, Button:OK, Button:OK, 1)
Of Button:OK
cycle
End
End
The compiler complains about the cycle statement, even though the help docs on Case Message show the use of cycle. I have also tried break and return. What is the proper way to stop the conditionally copy?
Thanks,
Jeff
If UPPER(Spe:Path_Complete) = 'NO' OR Spe:Path_Complete = ''
Case Message('Pathology not complete.|Please complete pathology before copying.', 'Warning', Icon:Exclamation, Button:OK, Button:OK, 1)
Of Button:OK
cycle
End
End
The compiler complains about the cycle statement, even though the help docs on Case Message show the use of cycle. I have also tried break and return. What is the proper way to stop the conditionally copy?
Thanks,
Jeff
119
Web Server - Ask For Help / Browse filter
« on: January 06, 2012, 05:42:34 PM »
I have set the filter on a browse to the following:
'spec:Pathologist = '&p_web.GSV('Pathologist')
The session variable 'Pathologist' is set in the embed code for the Login. I find the browse is not being filtered. Can anyone offer a suggestion?
Thanks
'spec:Pathologist = '&p_web.GSV('Pathologist')
The session variable 'Pathologist' is set in the embed code for the Login. I find the browse is not being filtered. Can anyone offer a suggestion?
Thanks