| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 105,979
» Latest member: iwbetnet1
» Forum threads: 2,433
» Forum posts: 11,393
Full Statistics
|
| Online Users |
There are currently 1055 online users. » 2 Member(s) | 1050 Guest(s) Applebot, Bing, Google, go8playst, iwbetnet1
|
| Latest Threads |
SSL Revisited
Forum: IntraWeb General Discussion
Last Post: rlebeau
10-19-2026, 09:24 PM
» Replies: 3
» Views: 478
|
SpinBox Button Size
Forum: IntraWeb General Discussion
Last Post: MikeComb
10-19-2026, 06:12 PM
» Replies: 0
» Views: 191
|
Rerendering CG Tab Contro...
Forum: IntraWeb General Discussion
Last Post: MikeComb
10-19-2026, 05:21 PM
» Replies: 0
» Views: 174
|
CSS in CGDevTools
Forum: IntraWeb General Discussion
Last Post: MikeComb
10-13-2026, 04:12 PM
» Replies: 2
» Views: 576
|
Help with TIWPaintBox
Forum: IntraWeb General Discussion
Last Post: EmoPal
10-13-2026, 08:44 AM
» Replies: 0
» Views: 336
|
KanBan like behaviour
Forum: IntraWeb General Discussion
Last Post: MJS@mjs.us
10-06-2026, 09:31 PM
» Replies: 6
» Views: 1,322
|
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
10-02-2026, 04:14 PM
» Replies: 1
» Views: 836
|
TIWSummernote Issue
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
09-30-2026, 07:34 PM
» Replies: 1
» Views: 496
|
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-21-2026, 05:33 PM
» Replies: 1
» Views: 858
|
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-21-2026, 05:31 PM
» Replies: 2
» Views: 1,003
|
|
|
| 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.
|
|
|
|