| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 1248 online users. » 1 Member(s) | 1242 Guest(s) Applebot, Baidu, Bing, Google, Yandex, hutbuidqc
|
| Latest Threads |
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
Yesterday, 03:02 AM
» Replies: 0
» Views: 53
|
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
09-08-2026, 09:03 AM
» Replies: 0
» Views: 49
|
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-08-2026, 01:48 AM
» Replies: 0
» Views: 69
|
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 326
|
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 162
|
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 515
|
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 157
|
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 2,044
|
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 296
|
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 850
|
|
|
| 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)
|
|
|
| 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
|
|
|
| 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.
|
|
|
| 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;
|
|
|
| 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.
|
|
|
| Sending email through Gmail |
|
Posted by: jjeffman - 07-16-2018, 08:19 PM - Forum: Indy
- Replies (3)
|
 |
Hello,
I am using Indy10 on C++Builder 6.0 Professional Edition, which I have already succeeded on sent an email using Gmail some time ago.
Now I have to do it again and it seems that no matter the settings I have choosen to TIdSMTP or TIdSSLIOHandlerSocketOpenSSL, I've been getting the same server answer: "You must issue a STARTTLS first".
I am using Port = 587 and TLS support.
Which are the correct settings to enable Indy10 to send emails using Gmail's SMTP?
Thank you very much.
Jayme Jeffman Filho.
|
|
|
|