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

Pages: [1] 2 3 ... 48
1
Web Server - Ask For Help / Re: Load balancing
« on: August 22, 2023, 04:02:52 AM »
Willie,

Sent to your email.

2
Web Server - Ask For Help / Re: Load balancing
« on: August 21, 2023, 03:18:31 PM »
Sure I?ll send it but it?ll probably be tomorrow.


3
Web Server - Share Knowledge / Created an CSS and JS Minfier/gZipper
« on: August 03, 2023, 08:30:06 AM »

Note: Does not validate CSS or JavaScript

https://github.com/donridley1972/WebCompressor

4
Following Bruce?s idea..

You could use buttons and then use CSS to make them look ?like? tabs.  I would spread them across the top of the browse perhaps.

5
Web Server - Ask For Help / Re: Next freezes browse
« on: June 12, 2023, 04:41:21 AM »
There isn't any hand-coded or added HTML. It's all Wizard generated.

Trust me.  Check your HTML.

I'm not saying the wizarded procedure was generated wrong.  I suspect it is attempting to display exactly what is in the database.

Right click on the browser on that offending browse and select "view source."  Any incorrect HTML code should be red if I remember correctly.

Like I said...trust me.  :)

Don

6
Web Server - Ask For Help / Re: Next freezes browse
« on: June 12, 2023, 03:04:06 AM »
Ubaidullah,

I would debug your HTML.

The fields in question may be causing an error in your HTML which would cause your browse to stop working on that particular page of records.

7
Double Drop for sure.

8
Thank you Bruce!

9
I "think" he's talking about a fixed header.  Like:

https://www.w3schools.com/howto/howto_js_sticky_header.asp

But I could be wrong.

10
iOS 16.4 Updates

This update includes the following enhancements and bug fixes:

*  21 new emoji including animals, hand gestures, and objects are now available in emoji keyboard
*  Notifications for web apps added to the Home Screen
*  Voice Isolation for cellular calls prioritizes your voice and blocks out ambient noise around you
*  Duplicates album in Photos expands support to detect duplicate photos and videos in an iCloud Shared Photo Library
*  VoiceOver support for maps in the Weather app
*  Accessibility setting to automatically dim video when flashes of light or strobe effects are detected
*  Fixes an issue where Ask to Buy requests from children may fail to appear on the parent's device
*  Addresses issues where Matter-compatible thermostats could become unresponsive when paired to Apple Home
*  Crash Detection optimizations on iPhone 14 and iPhone 14 Pro models

11
Web Server - Ask For Help / Re: String Teory Question
« on: January 04, 2023, 03:42:49 PM »
When you do st.Load() in StringTheory you can then use st.Length().

st.Load() calls this Win32 API (along with others):

stGetFileSize(long hFile,*long SizeHigh), long, pascal, name('GetFileSize')

https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-getfilesize

Just tested loading various files into the StringTheory demo.  Seems st.Length() after st.Load() will do what you need.



12
Web Server - Ask For Help / Re: Load balancing
« on: January 04, 2023, 04:05:51 AM »
Hello Matthew,

I like your demo site.  Nice and clean interface.

I would be interested in learning more about your approach to handling sessions.


13
Web Server - Ask For Help / Re: Larges Reports on NT
« on: December 22, 2022, 04:56:01 AM »
I don't see why you couldn't.

You could say that any file larger than x megabytes would trigger a "long" process.

Then in your user interface, notify the user that the report will take a while to process and that they will be notified when the report is ready for download.

Report process runs on its own thread.

When it's finished, file would be saved to a folder visible to the web server.

Then create a link to the file and email or SMS it to the user.


14
Web Server - Ask For Help / Re: Load balancing
« on: December 22, 2022, 03:58:17 AM »
I watched that webinar.  Gordon and Flint have done some really cool things with NetTalk.

At the 2019 CIDC they demonstrated a way to save session data and load it into another server.  But, I never could get it to work on my servers.  That has to do with how they are using their server where I'm using it more "out of the box" so to speak.

It's still on my to do list.

15
Web Server - Ask For Help / Re: Web Service question, part 2
« on: December 21, 2022, 05:00:36 AM »
Hello Jeff,

Quote
1.  Is this a valid concern, coding the username and password in their R-code?

No more so than coding it into any other language or platform.  There are numerous ways to obfuscate authentication data.  Just take the normal precautions.

Quote
2.  Is this technique, using a username and password to access a web service/API, the preferred way?

It looks like he's using Basic Authentication.  This is commonly used.  The credentials can be Base 64 encoded.  Also, if the login is requested against a secure connection (HTTPS), the traffic is encrypted and less susceptible to attack.  I don't think there's a valid excuse for running a non-secure server nowadays anyway.

Quote
3.  I use another unrelated API, where I send a key/code to the API.  It does not involve a username and password.  I'm not sure how or if this can be done with a NT API/Web Service.  Can this be done in NT?  If it can, is it a better way to authenticate?

NetTalk supports several flavors of authentication. Basic, Digest, OAuth, etc. It just comes down to which one works for you.

In short, I wouldn't worry about the R-Code issue personally.


Pages: [1] 2 3 ... 48