Mehmet Emin
-
Posts
229 -
Joined
-
Last visited
-
Days Won
6
Content Type
Profiles
Forums
Events
Posts posted by Mehmet Emin
-
-
uniGUI dll'iniz normal form requestlere yanıt veriyor ve düzgün çalışıyorsa.
https://b2b.test.com:8443/test.dll/olmayanbirurl 404 dönüyorsa
https://b2b.test.com:8443/test.dll/islem 405 dönüyorsa ISAPI GET,POST vs. izinler ile ilgili.
Yardımcı olamadım.
-
Ben bu hatayı alıyorum:
Invalid session or session Timeout. (Invalid URI: /comcheckxxxxxxxxxxxxxx ) Restart application
Yani bana cevap uniGUI den dönüyor. Sizin durumda bu URL'ler uniGUI'ye ulaşmıyor.
IIS ayarlarını mümkünse tekrar sıfırdan yapın.
https://b2b.test.com/test.dll çalışıyorsa ancak bunun altındaki URL ler çalışmıyorsa IIS kaynaklı.
-
Son olarak
https://b2b.test.com:8443/test.dll/olmayanbirurl yazınca ne hata alıyorsunuz?
-
Siz bu URL yi browser'a mı yazıyorsunuz yoksa örn. bir delphi client uygulamasında mı çağırıyorsunuz?
-
Ben sizin verdiğiniz örneğin aynısını kullanıyorum ISAPI/Standalone sorunsuz çalışıyor.
-
Bir ihtimal kullandığınız uniGUI sürümünde HTTPCommand'ın ISAPI altında çağrımı ile ilgili bir problem olabilir mi? Güncel sürümde misiniz?
-
Ayrıca port adresiniz 443 den farklı ise örn. 8443 -> https://b2b.test.com:8443/test.dll/islem
-
Kullanım doğru. Siz yine de DNS kaydını kontrol edin IP sizin subdomain'e point ediyor mu?
C:\Users\user>ping b2b.test.com
Reply from 216.58.206.206: bytes=32 time=61ms TTL=114
Reply from 216.58.206.206: bytes=32 time=62ms TTL=114Bu komutun cevabı sizin hedeflediğiniz IP mi?
-
Normalde ISAPI, service veya standalone hepsinde çalışması lazım.
procedure TUniServerModule.UniGUIServerModuleHTTPCommand(
ARequestInfo: TIdHTTPRequestInfo; AResponseInfo: TIdHTTPResponseInfo;
var Handled: Boolean);
begin//Debug.Log(ARequestInfo.URI);
if ARequestInfo.URI = '/islem' then
begin
AResponseInfo.ContentText := 'OK';
AResponseInfo.ResponseNo := 200;
AResponseInfo.ContentType := 'text/html';
Handled := True;
end;
end;Başlangıçta ARequestInfo.URI yi bir loga yazdırıp bakın bakalım hiç çağırıyor mu UniGUIServerModuleHTTPCommand'ı?
Aynı program normal uniGUI formları ile de hizmet veriyorsa o bölümlere erişilebiliyor mu?
-
Or if you are running stand alone or service than this code:
procedure TUniServerModule.UniGUIServerModuleHTTPCommand(
ARequestInfo: TIdHTTPRequestInfo; AResponseInfo: TIdHTTPResponseInfo;
var Handled: Boolean);
begin
AResponseInfo.CustomHeaders.AddValue('X-Frame-Options', 'DENY');
end;
- 2
-
Are you running on IIS?
If yes you can add it like this:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options
- 2
-
One possible case may be that libmysql.dll depends on something like Visual C++ Redistributable Packages and they are not installed in your production server. Did you test a simple VCL form with a fdconnection on it? Is it the same error message?
-
-
I am using both service and stand alone (VCL) there is no difference in SSL certificate handling.
5 hours ago, oflor said:but inside the net (intranet) the certificate is "insecure".
What is the exact browser message?
-
@oflor I am using a single ssl certificate in both internet and intranet server.
I mean in the public internet dns the host name points to an host on internet and in intranet dns points to 192.168.x.xx local LAN.
And I don't get any errors with this type of setup. Make sure that you setup the certificate correctly on intranet server (make sure ssl dlls are newest version)
29 minutes ago, oflor said:Internally are a transparent redirect on the dns to point sebaotweb.sebaot.com to the server using internal IP address.
I think there is also a possibility that during transparent redirection your proxy or security module may be causing this warning. Because in some setups I saw that proxies install their own ssl as CA root between client and internet in order to decode ssl traffic to analize.
- 1
-
Do you have the option to process this in browser ?
HTMLElement.innerText would do it. Then you can send it to server.
-
I tried to set this property to http://cdn.... but it is not what I expected.
Can you explain how to use this?
Thanks
-
-
-
-
-
-
-
FirstDayOfWeek
in uniGUI Mobile
Posted
uses
uniDateTimePicker, unimDatePicker, uniGUIInterfaces,
.....
var IPicker: IUniDateTimePicker;
begin
IPicker := UnimDatePicker1;
IPicker.FirstDayOfWeek := TCalDayOfWeek.dowFriday;