| Welcome, Guest |
You have to register before you can post on our site.
|
| 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;
|
|
|
| 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
|
|
|
| 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
|
|
|
| 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.
|
|
|
| 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;
|
|
|
|