| Welcome, Guest |
You have to register before you can post on our site.
|
| Latest Threads |
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 225
|
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 89
|
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 400
|
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 101
|
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 1,915
|
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 251
|
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 758
|
Looking for UI Design Tip...
Forum: Delphi General Discussion
Last Post: chrisjordon232
08-06-2026, 05:17 AM
» Replies: 0
» Views: 287
|
TIWjQDBGrid DateFormat
Forum: IntraWeb General Discussion
Last Post: brushbuny
08-05-2026, 03:31 AM
» Replies: 2
» Views: 1,686
|
Simply convert PeerIp to ...
Forum: Indy
Last Post: DidierMenant
08-04-2026, 03:50 PM
» Replies: 2
» Views: 426
|
|
|
| ios 11.4 cookies |
|
Posted by: monstercode@gmail.com - 06-11-2018, 07:19 AM - Forum: IntraWeb General Discussion
- Replies (1)
|
 |
Is there a reason why this code to set cookies does not work in Safari on ios 11.4?
The code has been in production for some time running Intraweb ultimate 14.2.7 with SSL but recent reports suggest it no longer works for iPhone users. Does anyone here have insight or experience with this?
function GetCookieValue(sName: String): String;
begin
Result := WebApplication.Request.CookieFields.Values[sName];
end;
procedure SetCookie(CookieName, CookieValue: String; ExpireIn: Real);
var
ExpireOn: Real;
begin
if ExpireIn <> 0 then
ExpireOn := GetUTCDateTime + ExpireIn
else
ExpireOn := -1; // session cookie
WebApplication.Response.Cookies.Add(THTTPCookie.Create(CookieName, CookieValue, '/', ExpireOn));
end;
|
|
|
| IW 15.03 Javascript error in IWBASE! |
|
Posted by: mschumann - 06-10-2018, 06:29 PM - Forum: IntraWeb General Discussion
- Replies (4)
|
 |
My application loads frames as required into a main forms region. This works perfect, also with a framewith an ambedded ag-grid which I prefer over the IWGrid due to its lazy loading capabilities. that speeds up things with huge amounts of data.
In that frame I experience this Error:
IWBase__ED2B0D164.js:2 Error in processAjaxExecute when evaluating:
IW.initIWCL(RGROWIWCL,"RGCONTENT",false);
f(RGCONTENTIWCL,"FRAMEIWFRAMEREGION",0) IW.initIWCL(FRAMEIWFRAMEREGIONIWCL,"TBLENTITYFRAME",false);
IW.initIWCL(FRAMEIWFRAMEREGIONIWCL,"IWBSINPUTGROUP1FRAME",false);
IW.initIWCL(IWBSINPUTGROUP1FRAMEIWCL,"IWBSBUTTON2FRAME",false);
IW.initIWCL(IWBSINPUTGROUP1FRAMEIWCL,"IWBSBUTTON3FRAME",false);
IW.initIWCL(IWBSINPUTGROUP1FRAMEIWCL,"IWBSINPUT1FRAME",true);
IW.initIWCL(IWBSINPUTGROUP1FRAMEIWCL,"IWBSBUTTON4FRAME",false);
IW.initIWCL(IWBSINPUTGROUP1FRAMEIWCL,"IWBSBUTTON5FRAME",false);
Unexpected identifier
I think the bold expression lacks a semicolon and this is generated code.
The grid works well with custom rest event for loading data but due to this error I cannot use custom events as they are not initialized, this code comes first.
Can I doanything about it?
Thanks!
Michael
|
|
|
| Log out and "forget" authentication |
|
Posted by: mschumann - 06-10-2018, 06:23 PM - Forum: IntraWeb General Discussion
- Replies (3)
|
 |
I have a logout button in my application that terminates the session but as the browser seems to buffer the authentication, it logs in again immediately.
Is there a way to force the basic auth mechanism to come up again without closing the browser?
Thanks Michael
|
|
|
| TIWAdvMessageDialog |
|
Posted by: Mikey29 - 06-08-2018, 03:12 PM - Forum: IntraWeb General Discussion
- Replies (1)
|
 |
Hello,
I'm using a TIWAdvMessageDialog with commonButtons =[cbOK,cbNo].
I would like to translate the Yes NO to "Oui' "Non" in my messagebox…
How to do this, please ?
With Best Regards,
Mikey
|
|
|
| How to redirect http to https in TIdCustomHTTPServer |
|
Posted by: ermesoml - 06-08-2018, 02:56 PM - Forum: Indy
- Replies (2)
|
 |
Hello Guys,
I am trying to do a service that works under ssl, but that I redirect the http connections to https and I have not succeeded. Is it possible to do that?
I need to use port 9001 so I also can not bind on two different ports, so I need only redirect https:\\example.com to https:\\example.com.
My implementation:
Code: sslHandler := TIdServerIOHandlerSSLOpenSSL.Create(nil);
sslHandler.SSLOptions.KeyFile := GetCurrentDir + '\certificados\private.key';
sslHandler.SSLOptions.CertFile := GetCurrentDir + '\certificados\certificate.crt';
sslHandler.SSLOptions.RootCertFile := GetCurrentDir + '\certificados\ca_bundle.crt';
sslHandler.SSLOptions.Mode := sslmServer;
sslHandler.SSLOptions.SSLVersions := [sslvTLSv1, sslvSSLv2, sslvSSLv23, sslvSSLv3, sslvTLSv1_1, sslvTLSv1_2];
sslHandler.SSLOptions.VerifyDepth := 0;
sslHandler.SSLOptions.VerifyMode := [];
sslHandler.OnGetPassword := IdServerIOHandlerSSLOpenSSLGetPassword;
Server.OnConnect := onConect;
Server.IOHandler := sslHandler;
and
Code: if (AContext.Connection.IOHandler is TIdSSLIOHandlerSocketBase) then
TIdSSLIOHandlerSocketBase(AContext.Connection.IOHandler).PassThrough:= False;
Thank you!
|
|
|
| unfolding header lines in TIdAttachment[File] |
|
Posted by: Boba TC - 06-08-2018, 01:42 AM - Forum: Indy
- Replies (10)
|
 |
First of all, thanks to you guys for having this forum running!
I did try to post on embarcodero but it seems to be cold dead.
My problem is in sending an attachment with TIdSMTP v.10:
Code: TIdMsg *IdMsg;
//...
TIdAttachmentFile *attchmnt=new TIdAttachment(IdMsg->MessageParts, "filename.txt");
attchmnt->FoldLines=false; - ?
attchmnt->UnfoldLines=true; - ?
IdMsg->Send();
this message does arrive to its intended destination with proper attachment, but the receiving server wants
the attachment header lines to be unfolded and header fields to be separated by "; " (semicolon followed
by a space). So, where do I go to satisfy this server? Thanks in advance. Boba TC.
|
|
|
|