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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 97,402
» Latest member: go88ad
» Forum threads: 2,426
» Forum posts: 11,371

Full Statistics

Online Users
There are currently 1320 online users.
» 2 Member(s) | 1315 Guest(s)
Applebot, Bing, Google, go88ad, Kubetsarl

Latest Threads
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: MJS@mjs.us
11 hours ago
» Replies: 1
» Views: 107
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
09-08-2026, 09:03 AM
» Replies: 0
» Views: 104
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-08-2026, 01:48 AM
» Replies: 0
» Views: 114
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 397
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 202
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 564
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 191
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 2,135
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 327
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 928

 
  trying to purchase IW, coupon code doesn't work
Posted by: chiswilson - 11-17-2018, 05:16 PM - Forum: IntraWeb General Discussion - Replies (6)

Im trying to purchase IW Ultimate, single developer.  (nominal price of 399 euro)
I login to the purchase point application, try to purchase the IW Ultimate single developer, but when I enter the coupon code that I received via email from AtoZed, it tells me invalid coupon.  Tried it several times, same results.

The email from AtoZed says:
Coupon Expiry Date: Nov.18.2018
...and right now its still Nov 17th here in the USA.

I'd like to make this purchase, but I'd like the discount offered in the email, with the coupon code.
Is this possible?
Thanks
Chisolm Wilson

Print this item

  Cookies stoped working when upgrading from 14 to 15
Posted by: Per Waernborg - 11-15-2018, 07:28 AM - Forum: IntraWeb General Discussion - Replies (5)

I use cookies to remember the login and has a working app made with Delphi 10.1.2 and IntraWeb 14.1.7. It writes and reads cookies just as I want it to.
When I move this app to Delphi 10.2.3 and IntraWeb 15.0.15 the cookies don't work any more. 

I have the following settings in the ServerController:
AllowMultipleSessionsPerUser = False
CookieOptions
> CookieNameSuffix = "empty"
> HttpOnly = False
> SameSite = ssoNone
> Secure = False
> SessionCookies = True
> UseCookies = True

Are there any other settings I should check or is it someting else I should be looking for?

Print this item

  TIWDBImage does not work with vFileAccess = faRequireSession
Posted by: magosk - 11-14-2018, 08:54 AM - Forum: IntraWeb General Discussion - Replies (5)

Hi! We discovered that a frame containing a TIWDBImage did not work when we had set vFileAccess := faRequireSession in IWServerControllerBaseValidateCacheFileAccess. If you debug the web page you get the following error:


Code:
HTTP404: NOT FOUND - The server has not found anything matching the requested URI (Uniform Resource Identifier). GET - http://192.168.4.30:9013/iJpZEkkD90Ig4vhmnuKR8q/$/temp/ATZiwn17FqBleI5B3MTnwWxFG.png


As a temporary bug fix I can set vFileAccess := faGrant for png files, but we would like to have session validation for all cache files.

Print this item

  Uploading more files
Posted by: odisej2 - 11-14-2018, 07:10 AM - Forum: IntraWeb General Discussion - Replies (1)

Hi again

I'm so happy with the forum as you helped me with one of my issues. I'm also more and more happy with the Intraweb. But I do have another question. File uploading.
I'm using IWFileUploader1 and layout manager and I also want to upload on a button press. It was a challenge to setup things to work. I'm happy with it but not 100%. The problem is that I'm not able to upload more than one file at a time. I'm showing uploaded files in a datatable. So I need to do a page refresh when upload is completed. I do a full submit in IWFileUploader1AsyncUploadSuccess like this:

WebApplication.CallBackResponse.AddJavaScriptToExecuteAsCDATA('SubmitClick("btnRefresh","",true);');

But IWFileUploader1AsyncUploadSuccess is called after each file so if I have more that full submit breaks the upload. So finally the question. Is there anything that I can use to know if that was the last file uploaded? Or can I call some kind of a refresh page that does not break the upload. What I need is to drop into IWTemplateProcessorHTML1UnknownTag for my page to "draw".

Thanks again

Grega

Print this item

  How to abort TIdImap4.Connect?
Posted by: edwinyzh - 11-14-2018, 05:56 AM - Forum: Indy - Replies (3)

As we know, we can abort any TIdTCPConnection child classes in the OnWork event, including the TidImap4 client component.

But how to abort the connection before the timeout value is reached? 

Thanks.

Print this item

  Placeholder disappears
Posted by: wadcompany - 11-13-2018, 06:48 PM - Forum: IntraWeb General Discussion - Replies (2)

Hello friends could tell me if it is normal in an IWDBEDIT after an insert, the placeholder disappear. I have this problem in all the templates, using the IW15, only to appear in IW14 did not occur these problems. Thank you.

Print this item

  Post JSON with IDHTTP
Posted by: mo_ayad - 11-13-2018, 10:35 AM - Forum: Indy - Replies (1)

I am trying to post a JSON to web rest service but always with message HTTP1.1/BAD request.
The page in question is test page: https://dev.slimpay.com/hapi/browser#create-payins and the json is

Code:
POST Follow(https://api.slimpay.net/alps#create-payins) HTTP/1.1
Accept: application/hal+json; profile="https://api.slimpay.net/alps/v1"
Authorization: Bearer token
Content-Type: application/json

{
   "creditor": {
       "reference": "democreditor"
   },
   "subscriber": {
       "reference": "subscriber5bea84af2e9e3"
   }
}

The first two steps on the test page OK with IDHTTP and SSL but this test step i am aunable to proceed, my code is the following:

Code:
htpBrwsr.Request.Accept := 'application/hal+json; profile="https://api.slimpay.net/alps/v1"';
htpBrwsr.Request.CustomHeaders.Add('Authorization: Bearer ' + sToken); // token got correctly from previous step
htpBrwsr.Request.ContentType := 'application/json';
// htpBrwsr.Request.CharSet := 'UTF-8';        
ms := TMemoryStream.Create;
ss := TStringStream.Create('{"creditor": {"reference": "democreditor"},"subscriber": {"reference": "subscriber5bea84af2e9e3"}}');
ss.Position := 0;
htpBrwsr.Post('https://api.preprod.slimpay.com/payments/in', ss, ms); // error HTTP1.1/400T


htpBrwsr is an TIDHttp related to a TIdSSLIOHandlerSocketOpenSSL, a similar TIDHttp functions well in the first two steps sited on the test page and I obtain the token with no problems.

any help will be aprecieted..

Print this item

  Call async on click from img
Posted by: odisej2 - 11-13-2018, 07:42 AM - Forum: IntraWeb General Discussion - Replies (2)

I use Intraweb together with layout manager. When populating table with some images I do this in IWTemplateProcessorHTML1UnknownTag:

VValue := '<a href="#" onclick="SubmitClickConfirm(''btnSend'',''' + 'somekey' + ''', true, '''');return false;">' + '<img src="images\send.png" />' + '</a>';

Behind btnSend I have some code. And that is full sumbit of the form which is ok in this case.

But now I want to call OnAsyncClick of the button when user clicks on that img. Any ideas what to do?

Regards

Grega

Print this item

  Get size of TIdMessage without first saving to TStream
Posted by: edwinyzh - 11-13-2018, 03:51 AM - Forum: Indy - Replies (2)

Hello,

We all know we can get the size of a TidMessage instance by first saving it to a TMemoryStream and read TMemoryStream.Size to get the size of the email message in bytes, but this doesn't sound performance-friend.

Is there an alternative way to get the size of a Tidmessage object?

Thanks.

Print this item

  Problem opening a link in v15.0.14 and v15.0.15
Posted by: ioan - 11-12-2018, 09:59 PM - Forum: IntraWeb General Discussion - Replies (6)

Starting with version .14, the following link breaks something in the IW application if is compiled with http.sys:


Code:
http://server/?level=sslfaxv3&id=f1mFiOlnZy00Tu8%2FpUHJ%2FpTuZFJF2rbBrOG6K8WrMWEYNhFYpwCEJE2u2r46E%2FSujZc%2Bd%2FdEqf%2BYV%2F3qhw%3D%3D

Up to version .13 it works fine, but starting with version .14, the application doesn't ever get inside TIWServerController.IWServerControllerBaseGetMainForm when clicking that link. It seems that the problem is with the value of the "id" query field. If I change the value to id=aaaaaaa, or any simple string, it works fine. As I said, this above link works fine in version .13.

The value of the "id" is created by using TNetEncoding.URL.Encode(...) on a long string.

Print this item