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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 101,702
» Latest member: canhovincangio
» Forum threads: 2,428
» Forum posts: 11,381

Full Statistics

Online Users
There are currently 1031 online users.
» 5 Member(s) | 1022 Guest(s)
Applebot, Bing, Google, Yandex, 8kbetcctopp, betvisazacom, canhovincangio, casinotructuyenlink, ok9farm2

Latest Threads
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
10-02-2026, 04:14 PM
» Replies: 1
» Views: 455
KanBan like behaviour
Forum: IntraWeb General Discussion
Last Post: MJS@mjs.us
10-01-2026, 09:21 PM
» Replies: 4
» Views: 234
TIWSummernote Issue
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
09-30-2026, 07:34 PM
» Replies: 1
» Views: 101
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-21-2026, 05:33 PM
» Replies: 1
» Views: 525
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-21-2026, 05:31 PM
» Replies: 2
» Views: 601
How can I get started? Do...
Forum: CrossTalk General Discussion
Last Post: taggame
09-17-2026, 03:17 AM
» Replies: 2
» Views: 4,338
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
09-08-2026, 09:03 AM
» Replies: 0
» Views: 404
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 791
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 459
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 1,011

 
  Authetificate User via LDAP against active directory
Posted by: mikel.pahl - 08-19-2021, 09:54 AM - Forum: IntraWeb General Discussion - Replies (4)

Is it possible to authenticate user via LDAP against active directory in IW 15.
In VCL-Applications the function below works fine

In intraweb-Application at line
adshlp.ADsGetObject('LDAP://'+FDomain,ActiveDs_TLB.IDirectorySearch,DSearch);
Exception says "ungültige Syntax" -> “invalid syntax” at runtime.


Code:
function SearchUser (CommonName : string) : string;
var
  DSearch      : ActiveDs_TLB.IDirectorySearch;
  opt          : array[0..0] of ActiveDs_TLB.ads_searchpref_info; // has to be an array
  ptrResult    : THandle;
  col          : ActiveDs_TLB.ads_search_column;
  Searchpath   : WideString;
begin
  Result:='';
  Searchpath:='LDAP://'+FDomain;
  adshlp.ADsGetObject(Searchpath,ActiveDs_TLB.IDirectorySearch,DSearch);
  opt[0].dwSearchPref:=ADS_SEARCHPREF_SEARCH_SCOPE;
  opt[0].vValue.dwType:=ADSTYPE_INTEGER;
  opt[0].vValue.Integer:=ADS_SCOPE_SUBTREE;
  if Succeeded(DSearch.SetSearchPreference(@opt[0],1)) then
  begin
    DSearch.ExecuteSearch('(&(objectClass=user)(sAMAccountName='+CommonName+'))',@ColNames,ColCount,ptrResult);
    if DSearch.GetNextRow(ptrResult)<>S_ADS_NOMORE_ROWS then
    begin
      if Succeeded(DSearch.GetColumn(ptrResult,ColNames[2],col)) then
      begin
        if col.pADsValues<>nil then Result:=col.pAdsvalues^.CaseIgnoreString;
        DSearch.FreeColumn(col);
      end;
    end
  end
end;

Print this item

  Usage of Intraweb Offline [Solved]
Posted by: Chrispy1403 - 08-18-2021, 05:27 PM - Forum: IntraWeb General Discussion - Replies (4)

Hello,

i'm using Intraweb 14.1.6 in combination with Bootstrap for Intraweb.
I wanted to create an Application to install in an intranet enviroment with the exception that there is no internet connection.
While programming i  found out, that my code only works with an internet connection established.
But when i'm offline, some async actions wont work anymore.
For example does this piece of code not work offline.

Code:
WebApplication.CallBackResponse.AddJavaScriptToExecuteAsCDATA('location.reload();');
I need this piece of code to refresh some data Aware Controls like a dbTable.
When i hit F5 it refreshs but that is not an accaptable work around.
Do u have any ideas how to fix this issue?

Thanks in advance

Print this item

  BitDefender blocks intraweb (with bootstrap 3)
Posted by: pierobonf@contal.it - 08-18-2021, 03:01 PM - Forum: IntraWeb General Discussion - Replies (1)

I point out that with the latest BitDefender update, intraweb + bootstrap 3 no longer works.

BitDefender blocks the filling of the forms and the status of the controls.
More info here: https://community.bitdefender.com/en/dis...ent_302485

[url=https://community.bitdefender.com/en/discussion/comment/302485#Comment_302485][/url]

I hope in a quick correction but this discussion started a month ago...

Francesco Pierobon

Print this item

  HTTP.sys Does not work from the global network
Posted by: Сергей Александрович - 08-18-2021, 06:03 AM - Forum: IntraWeb General Discussion - Replies (21)

When testing the demo version of the use HTTP.sys the following is observed:

http://localhost/MyBase1/ - succes
http://192.168.0.103/MyBase1/ - successfully
http://46.191.248.132/MyBase1/ -  I can't open this page

* Make sure that the web address http://46.191.248.132 correct

On the router, port 80 is forwarded to the local IP

Type service: HTTP    External port: 80    Internal IP:  192.168.0.103  Internal port: 80    Protokol: TCP

If you run an Indy application on this port, then the connection from the external network is successful.

What could be the reason?

Print this item

  passing Delphi variable to javascript variable
Posted by: Joe Sansalone - 08-15-2021, 02:28 PM - Forum: IntraWeb General Discussion - Replies (1)

Hi,

Is there a way to pass Delphi var to a javascript variable?

I know that I can call WebApplication.CallBackResponse.AddJavaScriptToExecute 
to execute a javascript function and pass it the actual string (i.e. value of the variable).

But if I don't want to expose the contents of the delphi variable in html/javascript, 
how do I pass it?

Thanks,
Joe

Print this item

  IntraWeb 15.2.36 is out!
Posted by: Alexandre Machado - 08-14-2021, 01:53 AM - Forum: IntraWeb General Discussion - No Replies

Hi guys,

a couple of regression bugs introduced in previous versions (.34 and .35) has been fixed:

https://www.atozed.com/2021/08/intraweb-15-2-36/

Enjoy!  Big Grin

Print this item

  Documents confirming the purchase of the Ultimate license.
Posted by: Сергей Александрович - 08-13-2021, 06:30 AM - Forum: IntraWeb General Discussion - Replies (6)

Good afternoon! I recently bought a license for Ultimate. Please explain how to get the documents confirming the purchase? My accounting department requires a document that confirms that the purchase has been made.

I apologize that I have to write this question on the forum, but there is no answer to my appeal to the personal account. 

I need some kind of document that would confirm that my money was spent on the purchase of the Ultimate Intraweb license.

Print this item

  IWServer as service become unresponsive
Posted by: dabuzu - 08-12-2021, 08:48 AM - Forum: IntraWeb General Discussion - Replies (2)

I am using IW 14.2.9 ultimate with Delphi 10 Seattle 
Installed components : TMS and CGDevTools
External connection is done thru an proxy server.

I encounter a strange situation, service is running ok several days, but are moments when become unresponsive.
Server processor goes above 25 % and everything respond in 10-20 sec or even get timeouts.

Restarting service do not solve the problem, because instantly server get back to 25-30 %. Memory consumption is not height and third server (database layer) is working ok for other clients as well.

I did also a new installation of  IW service on second server and from proxy I activate which server to run. But when are problems, Proc constantly > 25 % switching servers do not solve anything. Second server goes instant to the same proc usage and also become unresponsive.
That takes  from 5 min to 40 min, till everything goes back to normal and server respond in milliseconds.

What I didn't understand, is , when busy, why do not show at list page of login (that is simple and do not connect to any third party service) when start.
Why server does instantly at 25-30 % when restarting ?!
In logs are nothing strange, no exceptions reported.

Please, any suggestion is very welcome.

config:
  self.RestartExpiredSession := True;
  Self.BoundIP := FConfig.CFG.ReadString('Server','BoundIP',False);
  self.Port := FConfig.CFG.ReadInteger('Server','BoundPort',False);
  self.AllowMultipleSessionsPerUser := false;


 Self.SessionTimeout := 120; {2 hours}
 Self.FilesDir :=  Self.ContentPath + FConfig.CFG.ReadString('Server','SharedFilesDir',False);
 Self.InternalFilesDir := Self.ContentPath + FConfig.CFG.ReadString('Server','SharedFilesDir',False);


TIWSecurityOptionsAccess(Self.SecurityOptions).mCheckSameIP := False;
TIWSecurityOptionsAccess(Self.SecurityOptions).mCheckSameUA := true;
TIWSecurityOptionsAccess(Self.SecurityOptions).CheckFormId := true;
SecurityOptions.ShowSecurityErrorDetails := False;

CookieOptions.SessionCookies := false;
CookieOptions.HttpOnly := true;
CookieOptions.UseCookies := True;

  self.JavaScriptOptions.AjaxErrorMode := emNone;
  self.LogCommandEnabled := true;
  self.LogSessionEvents := true;

  self.ExceptionLogger.RegisterIgnoreException(EConvertError);
  self.ExceptionLogger.RegisterIgnoreException(EUnknownBrowserException); {Unknown browser type}
  self.ExceptionLogger.RegisterIgnoreException(EInvalidSession); {Invalid session}
  self.ExceptionLogger.RegisterIgnoreException(EExpiredSession); {Expired session}
  self.ExceptionLogger.RegisterIgnoreException(EIWNoSessionId); {No session ID}

  self.ExceptionLogger.LogType := ltFile; // ltEventLog;
  self.ExceptionLogger.FilePath := Self.ContentPath + 'Exceptions\';
  self.ExceptionLogger.FileName := 'Exceptions.log';
  self.ExceptionLogger.PurgeAfterDays := 1;
  self.ExceptionLogger.Enabled := True;

Print this item

  ShowPrompt
Posted by: Сергей Александрович - 08-11-2021, 04:58 AM - Forum: IntraWeb General Discussion - Replies (4)

Where can I find a description of all the parameters of the ShowPrompt call ? 
Interested in the format of specifying the last parameter (callbackData: TStrings)

Print this item

  source text
Posted by: Сергей Александрович - 08-08-2021, 02:18 PM - Forum: Delphi General Discussion - Replies (2)

In which directory should the IntraWeb sources be placed so that they are available in DesignTime In Delphi XE7

Print this item