Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 82,299
» Latest member: vicepleasurenet
» Forum threads: 2,408
» Forum posts: 11,315

Full Statistics

Online Users
There are currently 355 online users.
» 4 Member(s) | 348 Guest(s)
Applebot, Bing, Google, 789clubvndecom9, by88hunet, dn88green, vicepleasurenet

Latest Threads
IW 16.2.0 Missing librari...
Forum: IntraWeb General Discussion
Last Post: Gregory_Twedt
06-24-2026, 04:40 AM
» Replies: 5
» Views: 625
VCL conversion
Forum: Delphi General Discussion
Last Post: tobenschain
06-20-2026, 05:00 AM
» Replies: 0
» Views: 71
TIWjQDBGrid changing UI
Forum: IntraWeb General Discussion
Last Post: BoostedCruiser
06-08-2026, 02:02 AM
» Replies: 36
» Views: 70,356
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: Fabrizio Conti
06-04-2026, 09:14 AM
» Replies: 3
» Views: 473
Access Violation When Val...
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
06-03-2026, 08:47 AM
» Replies: 2
» Views: 517
Bootstrap5
Forum: IntraWeb General Discussion
Last Post: geraldtatum
06-02-2026, 06:24 AM
» Replies: 1
» Views: 412
weakpackageunit contains ...
Forum: IntraWeb General Discussion
Last Post: rlebeau
05-26-2026, 04:56 PM
» Replies: 4
» Views: 530
Custom 404 handler
Forum: IntraWeb General Discussion
Last Post: CfawesDwale
05-21-2026, 08:02 AM
» Replies: 0
» Views: 256
PopUp Menu
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
05-13-2026, 04:35 AM
» Replies: 4
» Views: 8,207
Image question on tiwjqdb...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
05-13-2026, 03:32 AM
» Replies: 3
» Views: 4,123

 
  Intraweb 15.0.x, Http.sys and cookies creation problem
Posted by: aimpera - 07-31-2018, 08:22 AM - Forum: IntraWeb General Discussion - Replies (2)

Hi,
Intraweb 15.0.9 on Delphi 10.2.3 (Tokyo)

Code for create a cookie:


Code:
WebApplication.Response.Cookies.AddCookie('name', 'value', IncDay(date, 30));


With Indy mode ( TIWStart.Execute(True) ) works correctly

With new Http.sys ( TIWStartHsys.Execute(True) ) the cookie is'n created.

Why?

Best Regards, Alf.

Print this item

  IWTabControl TabHeight
Posted by: Rassamaha78 - 07-29-2018, 12:57 PM - Forum: IntraWeb General Discussion - Replies (6)

Im try use Intraweb 14.2.8. How to change TabHeight ? I set TabRowHeight to 32, and TabHeight to 32:

   

has changed in design time:

   

but in browser TabHeight does not change, it remains 16-20, although the TabRowHeight has changed.

   

Print this item

  TIWServerController::OnBeforNewSession()
Posted by: JuergenS - 07-26-2018, 11:34 AM - Forum: IntraWeb General Discussion - Replies (2)

Hello,

setting the flag vCanCreate = false in the OnBeforNewSession event handler of the server controller
doesn't prevent the server controller from creating a new session !

C++Builder 10.2 Update 3
Intraweb Ultimate Edition 15.0.9

Best Regards
JuergenS

Print this item

  POST Method problem
Posted by: hafedh.trimeche@gmail.com - 07-26-2018, 12:00 AM - Forum: IntraWeb General Discussion - Replies (2)

IntraWEB 14.2.7
Delphi  Delphi 10.2 Update 3

When posting (using REST Client) MD=55E38206236453324085 as a single Param/Value, all these properties are set to Empty and the POST event not handled even the mHasContent is set to True.

Please note that these properties are inspected in the NeWession Event.
//////////////////////////////////////
mHasContent: True
mParams: Empty
mQueryFields: Empty
mContentFields: Empty
FRunParams: Empty
//////////////////////////////////////

The result of the POST method:
//////////////////////////////////////
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title></title>
<script type="text/javascript">
function getWH(){var a=0,b=0,f=document,e=window,c=e.devicePixelRatio||1;if(e&&e.innerWidth){a=e.innerWidth;b=e.innerHeight}else{if(f.documentElement&&f.documentElement.clientWidth){a=f.documentElement.clientWidth;b=f.documentElement.clientHeight}else{if(f.body&&f.body.clientWidth){a=f.body.clientWidth;b=f.body.clientHeight}}}return[a,b,c]}function consoleError(a){if(window.console&&window.console.error){console.error(a);return true}else{return consoleWrite(a)}}function getNodeText(b){var a="";if(!b){return a}if(b.nodeType===3||b.nodeType===4){return b.data}if(b=b.firstChild){do{a+=getNodeText(b)}while(b=b.nextSibling)}return a}function WriteToDoc(a){var b=document.open("text/html","replace");b.write(a);b.close()}function processAjaxRewrite©{try{var a=getNodeText(c[0]);if(a.slice(0,1)!=="<"){window.location.replace(res)}else{WriteToDoc(a)}}catch(b){consoleError("Error in processAjaxRewrite(): "+a+"\n"+b.message)}}function processAjaxResponse(b){var c=b.getElementsByTagName("response");if(c==null||c.length!=1){return}var a=b.getElementsByTagName("rewrite");if(a.length>0&&a[0].childNodes.length>0){processAjaxRewrite(a[0].childNodes)}}function ajaxGetCallback(b){if(window.ActiveXObject){var a=new ActiveXObject("Microsoft.XMLDOM");a.async=false;a.loadXML(b)}else{var c=new DOMParser();var a=c.parseFromString(b,"text/xml");c=null}if(a){processAjaxResponse(a);a=null}}function ajaxGet(a,c,d){var b=new XMLHttpRequest();b.open("GET",a+c,true);if(b.responseType){b.responseType="text"}b.onreadystatechange=function(){if(b.readyState===4&&b.status===200&&d){d(b.responseText)}};b.send()};
function get(url) {
  var s = getWH();
  var p = "?IW_AjaxID=" + new Date().getTime();
  p += "&IW_width=" + s[0] + "&IW_height=" + s[1] + "&IW_dpr=" + s[2];
  p += "&IW_SessionID_=234B8207008338835FC8&IW_TrackID_=1";
  ajaxGet(url, p, function(t, s){ajaxGetCallback(t, s);});
}
</script>
</head>
<body>
<script type="text/javascript">
 get("/234B8207008338835FC8/$/StartCheck");
</script>
</body>
</html>
//////////////////////////////////////

Please how to handle the POST Method witch would be initiated by a third party application (Client or server)

Print this item

  Indy 10 IMAP4 report
Posted by: LoukaCH - 07-25-2018, 01:41 PM - Forum: Indy - Replies (1)

Hello,

I found a pretty nasty bug in Indy 10. I mailed RLebeau but I'm not sure if it's the correct place.

file IdIMAP4Server.pas, line is :

LTemp := ' ' + AParams[LN];  {Do not Localize}

Should be : 

LTemp := LTemp + ' ' + AParams[LN];  {Do not Localize}

I was not sure where to report it !

Have a nice day

Print this item

  Access IntraWeb application from nginx reverse proxy
Posted by: ccy - 07-23-2018, 07:36 AM - Forum: IntraWeb General Discussion - Replies (3)

Usually, configure nginx reverse proxy is easy and straight forward, but I couldn't get it work with IntraWeb application.

For example, I wish to access IntraWeb applicaton from URL http://www.example.com/intraweb

The Intraweb application is accessible from http://10.1.1.1:8888/

Here is my nginx configuration:

    location /intraweb {
        proxy_pass       http://10.1.1.1:8888$request_uri;
        proxy_set_header Host 10.1.1.1:8888;
    }

But it doesn't work.  Is there any setting I need to configure in IntraWeb?

Print this item

  Is IWML a good strategy for IntraWeb?
Posted by: ccy - 07-23-2018, 12:38 AM - Forum: IntraWeb 17 - Replies (2)

Hi,

I learned that IWML (IntraWeb Markup Language) is plan on IntraWeb 17.

I personally feel that re-inventing some kind of proprietary markup language isn't a wise move for IntraWeb.  It will lead to long term maintenance issue and become a nightmare for IntraWeb developer.

Print this item

  Indy10 TCP Client Readln hangs
Posted by: Attix22 - 07-20-2018, 07:15 AM - Forum: Indy - Replies (4)

Hi all

I'm using Indy10 TCP Client to communicate with a communication partner. 
To enable reading and writing at the same time I'm using IOHandler.ReadLn(Self.FETX, Self.FEncoding); inside the Execute of a TThread to read data.
And sending is done outside this Thread by the owner of the thread.

Problem is I sometimes (like every 5 - 10 Minutes) experience a hang on the IOHandler.ReadLn call which can last till I send data over the same TCPClient Instance.

Now I'm asking myself if there is a fundamental flaw in using a TCPClient like this?


Code:
procedure TReadingThread.Execute;
begin
 while not (Terminated) do
 begin
   try

      //Logged time here as start
     Self.FData := Self.FClient.IOHandler.ReadLn(Self.FETX,1000ms, -1, Self.FEncoding);
      //Logged time here as end
      //In case of "hang" this can take an infinite amount of time

     if (Self.FData <> '') and Assigned(Self.FOnData) then
     begin
       Synchronize(DataReceived);
     end;
   except
     on EIdException do
     begin
       ;
     end;
   end;
 Sleep(10);
 end;
end;




Code:
//Outside of TReadingThread, but same TCPClient Instance
Self.FTCPClient.IOHandler.WriteBufferOpen;
Self.FTCPClient.IOHandler.Write(Self.STX + Self.FSendDataBuffer + Self.ETX);
Self.FTCPClient.IOHandler.WriteBufferFlush;
Self.FTCPClient.IOHandler.WriteBufferClose;

Print this item

  Can Indy send email via IMAP?
Posted by: BosseB - 07-20-2018, 05:16 AM - Forum: Indy - Replies (4)

How can email be sent by IMAP through a server like Exchange which does not expose SMTP?

Print this item

  Intraweb 15 compile error on IWZLibExApi.pas
Posted by: ccy - 07-19-2018, 04:08 PM - Forum: IntraWeb General Discussion - Replies (1)

I try to compile Intraweb_15_D10_2.dpk, and I get this error:

     [exec] R:\src\intraweb15\zlib\IWZLibExApi.pas(270) Error: E1026 File not found: 'win32\deflate.obj'
     [exec] R:\src\intraweb15\zlib\IWZLibExApi.pas(271) Error: E1026 File not found: 'win32\inflate.obj'
     [exec] R:\src\intraweb15\zlib\IWZLibExApi.pas(272) Error: E1026 File not found: 'win32\inftrees.obj'
     [exec] R:\src\intraweb15\zlib\IWZLibExApi.pas(273) Error: E1026 File not found: 'win32\infback.obj'
     [exec] R:\src\intraweb15\zlib\IWZLibExApi.pas(274) Error: E1026 File not found: 'win32\inffast.obj'
     [exec] R:\src\intraweb15\zlib\IWZLibExApi.pas(275) Error: E1026 File not found: 'win32\trees.obj'
     [exec] R:\src\intraweb15\zlib\IWZLibExApi.pas(276) Error: E1026 File not found: 'win32\compress.obj'
     [exec] R:\src\intraweb15\zlib\IWZLibExApi.pas(277) Error: E1026 File not found: 'win32\adler32.obj'
     [exec] R:\src\intraweb15\zlib\IWZLibExApi.pas(278) Error: E1026 File not found: 'win32\crc32.obj'
     [exec] R:\src\intraweb15\zlib\IWZLibExApi.pas(279) Error: E1026 File not found: 'win32\zutil.obj'

It seems the prefix of win32/deflate.obj makes the compiler can't path.

Print this item