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

Pages: 1 ... 9 10 [11] 12 13 ... 23
151
Web Server - Ask For Help / Select list greybar 12.25?
« on: September 06, 2021, 12:45:00 PM »
I'm converting an app from 11.47 to 12.25.

For a droplist entry field, the old app lists the items with a greybar effect.  The rows alternate with a SelectList1 and SelectList2 class.

12.25 just has a uniform light blue background in the list.  Those classes no longer exist in Base/nettalk-ui-css.

Is there an easy way to restore the greybar to this droplist?

Thanks.

Jane

152
Web Server - Ask For Help / Re: Session timeout??
« on: September 05, 2021, 12:17:32 PM »
Never mind.

Jane getting burned by session values surviving restart because they're hiding in the *.state.xml file.  And the session EXPIRYAFTERHS overrides the site setting even if it hasn't been explicitly set. 
(Note to self to delete that XML file before tweaking the appearance of the session manager notification window.)

Never mind....

153
Web Server - Ask For Help / Session timeout??
« on: September 03, 2021, 01:32:46 PM »
I'm missing a piece here.

The SessionManager in PageFooterTag uses the new (as of 12.13) p_web.GetSessionTimeout method.

On a server I'm working on I set the timeout on the server window to 3 minutes.
The "old" p_web.site.SessionExpiryAfterHS/100 correctly gets set to 180.
But the p_web.GetSessionTimeOut()/100 that the SessionManager uses stubbornly says 900 (stuck at 15 minutes).

Do I need to call p_webSetSessionTimeOut when a user logs in and pass in the "site" value?
Or what is the best way to make these things line up?

Thanks for any insight.

Jane

154
Hi, Bruce,

I showed this at a webinar a couple of months back but probably should have emailed you as well. 

Steps to reproduce:
1.  Put some embed code AFTER the parent call in the BearerToken version of p_web.Authenticate in the WebHandler.
2.  Save the procedure.
3.  Open the procedure.  The code has magically moved to BEFORE the parent call.

Cheers,

Jane



155
Gordon,

Maybe when User B opens a form on MRN 100 he gets a message "Record 100 is locked for update by User A since 9:14AM.  Click here to clear the lock and any edits he may be making."

If User B clicks the button you remove User A's lock and make a new lock for User B.

You also check the lock before saving, so if 5 minutes later User A tries to save what's on his open form he gets a "Sorry, Skippy" message.

People may not be happy (are they ever??) but at least they know what happened.

JAT.

Jane

156
Web Server - Ask For Help / Re: NT12 and .trace problem
« on: July 30, 2021, 07:30:58 PM »
From the Clarion help:

The ERROR procedure returns a string containing a description of any error that was posted. If no error was posted, ERROR returns an empty string. You should interrogate ERROR immediately after the statement which you suspect may post an error because processing any other statement which could post an error will clear the internal errorcode.

157
Ah.  I thought the https://ausmkd.dcisionrt.com/  link was to the API.  I can connect to it now.

Sure it's possible to PING (which uses ICMP ) successfully and not be able to connect.  (If you click the Ban button on your webserver, for example, that just tells the NT webserver not to respond; Windows will still happily reply to the PING unless the firewall blocks it.) 

(As I also work with medical software I'm aware of how often whitelisting is used.  One of our 340B third party administrators just emailed us today that they're switching to a new admin system and we'll need to whitelist any IPs that need to be able to access it.)   Just a thought...

Maybe upload the netdemo.exe example program to your server and use the webClient procedure to try to connect to the API.  The logs may give you some insight as to what's happening.

Jane

158
FWIW, I can't even get a header response from https://ausmkd.dcisionrt.com/

Maybe the client's IP needs to be whitelisted?

159
Web Server - Ask For Help / Re: How to be a consultant?
« on: July 20, 2021, 05:34:51 PM »
Words of wisdom:

"Consult a good attorney"  8)

160
Web Server - Ask For Help / Re: API Client app question
« on: July 20, 2021, 05:33:50 PM »
Jeff,

Being one who didn't take to Windows until Win 95, I spent many years at the DOS prompt.

It's still the first thing I open on my computer each morning.

My services that I mentioned have all been installed from an AsAdministrator command prompt, running the executable with the /ISS switch.

That may well be the difference.

Cheers,

Jane

161
Web Server - Ask For Help / Re: API Client app question
« on: July 19, 2021, 07:12:29 PM »
Jeff,

I assume that when you tried to run with the button, you had started the app using "Run as Administrator"?

UAC requires elevation to install a service.

Jane

162
Web Server - Ask For Help / Re: API Client app question
« on: July 19, 2021, 01:40:39 PM »
FWIW, I have a half dozen web servers (NT 12 and NT 11) running without issue as services on Server 2019 on our internal network.

Have you ever made a service that works, Jeff?  (You need to make sure you don't have message boxes popping up, etc.) 

Can you get your program to run as a service on your development machine?  If not, that would be a first step.

Are you running your service as Local System Account or as a Windows user account?

Is the service correctly installed (does it appear in services.msc) ? 

You could pepper some "here I am" debug statements through the startup area of your program and use DebugView++ to see whether you make it to the main window, whether that opens, where you go from there.  Do you see what you expect to see?

No magic bullets.  Follow the instructions and it will work.

Jane



163
Maybe disable the Save button until they have done their thing on the other two tabs?

164
Yes, you do.   ;)

If you're going to do ANYTHING with web apps, Donn, you need to plan to bite the bullet and spend some time getting a basic understanding of CSS.

Because cascading style sheets "cascade", you don't need to mess with Bruce's stuff.

Rather, your own custom CSS file can override any of his CSS settings that you need to.
And you can also specify custom CSS class elements for most of the stuff you put on a screen with NetTalk.  By adding your own class to something, you don't even need to override Bruce's (which might affect multiple places in your app).

There've been innumerable webinars where Bruce has shown how to use the Developer Tools in Chrome or other browsers to experiment with getting the look you want, then putting that little bit of CSS into your own file.  You might look at some recordings or bring this screen to the next Thursday webinar and have him show you how to approach it.

In my as-always ever-so-humble opinion....   ::)

Jane

165
Here's the app I wizarded to make the screen shot.

Pages: 1 ... 9 10 [11] 12 13 ... 23