-
Posts
356 -
Joined
-
Last visited
-
Days Won
18
Content Type
Profiles
Forums
Events
Posts posted by Oliver Morsch
-
-
How? -> save server side!
-
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...
-
-
Then try mobile demo and when this works you can look in browser developer tools which properties this edit control has.
-
Is it correctly shown on mobile demo?
-
Which device and keyboard do you use? Is the number keyboard correctly shown in mobile demo?
-
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.
- 1
-
-
28 minutes ago, Norm said:
with the simplest code possible
I find my solution easier
-
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>(...)
???
-
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
-
But there is no
SessionManager.Sessions.Lock
That is definitely needed.
-
I would call the function
SendUniSessionsToLicenseAPI(SessionText.Text)
AFTER the s.unlock. So the Sessionlist is only locked for a short time.
-
Increases the memory on creating Report or on showing the PDF?
-
You can use Apache (isapi Module) under Windows, but compiling for Linux works only with Enterprise...
- 1
-
IP whitelist can be different from CORS list. You can see CORS in the header of the response.
-
I think CORS is normally active by default. Maybe they can confirure your IP to be allowed.
-
CORS is for security. So that no website can access the content of a foreign website.
-
If you have the target server under control, then you can configure CORS there...
-
To make a Call try this:
<a href="tel:5554280940">Call us at 555-428-0940</a>
- 2
- 1
-
Why do you want to run notepad client side? User can edit text in browser!?
-
With tinyMCE (See Forum) you can resize images and much more...
-
I think your base64 encoding ist wrong. Try tnetencoding.base64.encode.
-
example:
<img src="data:image/png;base64,iVBORw0KGgoAAA ANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4 //8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU 5ErkJggg==" alt="Red dot" />
How to hide uniEdit from Google developer tools (Google console)
in General
Posted
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...