Jump to content

Oliver Morsch

uniGUI Subscriber
  • Posts

    356
  • Joined

  • Last visited

  • Days Won

    18

Everything posted by Oliver Morsch

  1. As already mentioned in your stack overflow link, you should use the the backend. In your case "1" do you hide the edit server side (Delphi code)? Then you can there also save it server side! Maybe you can also encrypt the value or build a hash code you check later on server side. I think there is no other solution...
  2. You cannot trust data that comes from the client. Why do you want to save user name client side? That should be done server side saved in UniMainModule after login, then user cannot access and manipulate...
  3. https://stackoverflow.com/questions/72369349/google-chrome-101-on-android-shows-tab-key-on-soft-keyboard-instead-of-enter-for
  4. Then try mobile demo and when this works you can look in browser developer tools which properties this edit control has.
  5. Which device and keyboard do you use? Is the number keyboard correctly shown in mobile demo?
  6. This is the sorting in Excel: You are sorting it as string and that is the correct order for a string. Either you name it "Code-01", "Code-02", ... or must sort by it an integer column or calculated integer value.
  7. https://learn.microsoft.com/en-us/windows/win32/services/interactive-services
  8. Why not just create Delphi classes TInvDetail = class public seqNo: Integer; productCode: string; description: string; qty: Integer; price: Double; end; TInvoice = class public invNo: string; invDate: TDateTime; customer: string; invAmt: Double; invDetails: TArray<TInvDetail>; end; And then use var Invoice: TInvoice; begin Invoice := TJson.JsonToObject<TInvoice>(...) ???
  9. Oliver Morsch

    Thread

    see https://docs.devart.com/sdac/faq.htm: Are the SDAC connection components thread-safe? Yes, SDAC is thread-safe but there is a restriction. But the same TCustomMSConnection object descendant cannot be used in several threads. So if you have a multithreaded application, you should have a TCustomMSConnection object descendant for each thread that uses SDAC
  10. But there is no SessionManager.Sessions.Lock That is definitely needed.
  11. I would call the function SendUniSessionsToLicenseAPI(SessionText.Text) AFTER the s.unlock. So the Sessionlist is only locked for a short time.
  12. Increases the memory on creating Report or on showing the PDF?
  13. You can use Apache (isapi Module) under Windows, but compiling for Linux works only with Enterprise...
  14. IP whitelist can be different from CORS list. You can see CORS in the header of the response.
  15. I think CORS is normally active by default. Maybe they can confirure your IP to be allowed.
  16. CORS is for security. So that no website can access the content of a foreign website.
  17. If you have the target server under control, then you can configure CORS there...
  18. To make a Call try this: <a href="tel:5554280940">Call us at 555-428-0940</a>
  19. Why do you want to run notepad client side? User can edit text in browser!?
  20. With tinyMCE (See Forum) you can resize images and much more...
  21. I think your base64 encoding ist wrong. Try tnetencoding.base64.encode.
  22. example: <img src="data:image/png;base64,iVBORw0KGgoAAA ANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4 //8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU 5ErkJggg==" alt="Red dot" />
×
×
  • Create New...