| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 625 online users. » 1 Member(s) | 620 Guest(s) Applebot, Bing, Google, Yandex, keonhacaibongda
|
| Latest Threads |
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: MJS@mjs.us
09-11-2026, 09:49 PM
» Replies: 1
» Views: 274
|
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
09-08-2026, 09:03 AM
» Replies: 0
» Views: 209
|
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-08-2026, 01:48 AM
» Replies: 0
» Views: 224
|
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 530
|
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 280
|
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 703
|
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 258
|
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 2,332
|
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 397
|
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 1,047
|
|
|
| Show a new TIWAppForm and then go back to previous one |
|
Posted by: giorgio_c - 09-04-2021, 06:02 PM - Forum: IntraWeb General Discussion
- Replies (4)
|
 |
I guess if I can show a new TIWAppForm from current html page, and then resume back to the first one, mantaing the orignal status.
Opening a modal form programmatically by JavaScript in the first one, and then show a new TIWAppForm, on "release" command I get a re-initialized HTML page of the first one, not the previous html page with actual status.
|
|
|
| IW App inside an IFRAME |
|
Posted by: ShaneStump - 09-03-2021, 02:45 AM - Forum: IntraWeb General Discussion
- Replies (5)
|
 |
Howdy All!
I have a customer trying to run my IW 15.x app inside an IFrame (which I have always said I don't OFFICIALLY support).
If I open the browser debug routines and look at the console output if my IW app is run from within an IFRAME, all my local resources in the WWWRoot folder get 404 errors. If I run the IW app outside of the IFrame, it works as expected.
Anyone else have this issue and come up with a fix?
All the best,
Shane
|
|
|
| Renewed license key expiration date |
|
Posted by: ioan - 08-31-2021, 08:46 PM - Forum: IntraWeb General Discussion
- Replies (1)
|
 |
I got an email that my license expires soon (Dec 02, 2021). I forwarded the email to my boss and he made the purchase, but the new license starts on 31/Aug/2021 and expires on 31/Aug/2022.
Shouldn't the new one start when my current license expires and be good until Dec 02, 2022?
|
|
|
| How can know length of readstring in Idtcpserver |
|
Posted by: Zsanvs - 08-27-2021, 05:50 AM - Forum: Indy
- Replies (4)
|
 |
Hello,
We have 4G IOT adapter which can send json package to my delphi idtcpserver , i use
Memo1.Lines.Add('receiveString-> :' + AContext.Connection.IOHandler.Readstring(160));
but length of string is not fixed, like following 4 json packages, length of third one is different with others, so i can't fix in IOHandler.Readstring(???)).
{"devId":"492C201010012591","msgType":"aiValueRpt","data":{"AI1":"0","AI2":"0","AI3":"0","AI4":"0"},"timestamp":"1630043052"}
{"devId":"492C201010012591","msgType":"aiValueRpt","data":{"AI1":"0","AI2":"0","AI3":"0","AI4":"0"},"timestamp":"1630043053"}
{"devId":"492C201010012591","msgType":"rs485ValueRpt","data":"0103040ADC1786B643","timestamp":"1630043053"}
{"devId":"492C201010012591","msgType":"aiValueRpt","data":{"AI1":"0","AI2":"0","AI3":"0","AI4":"0"},"timestamp":"1630043054"}
How can read these strings by idtcpserver? 
Thank you!
Ike
|
|
|
| Error robot SEO and redirect automatic on index.html |
|
Posted by: DidierMenant - 08-25-2021, 02:17 PM - Forum: IntraWeb General Discussion
- Replies (1)
|
 |
Hello,
with 15.2.25 on delphi 10.4.2
I have a commercial site that performs very bad with SEO, error page 404!
Let me explain
The several pages are static in pure HTML and work normally with the browser navigate normally whitout PB.
Sometimes CEO robots have an access PB for 404 referencing !!
I specify, I have an index.html page by default site
ex 1:
https://monsite.com
Intraweb redirect always towards index.html for each new session
ex 2:
https://monsite.com/page2.html
Intraweb redirect always towards index.html for each new session, it 's not normally for me
Question 1:
Why when you open a session (SEO or with a normal browser) there is redirection to index.html automatically, how to remove that.
if I want https: //mysite/page2.html
where is the setting in servercontroller?
Question 2:
For optimization CEO, in your doc what is "TIWSearchEngineOptions" used for and how it works ?
Question 3:
What is "FullApplicationURL" used for and how does it work ?
|
|
|
| TIWCalendar in modal window |
|
Posted by: JuergenS - 08-23-2021, 04:03 PM - Forum: IntraWeb General Discussion
- Replies (19)
|
 |
Hi,
I would like to place the calendar component TIWCalendar in a TFrame and use the frame in a modal window.
If I then click on any selectable component in the calendar, the corresponding event handler is also called by TIWCalendar,
after that, the modal window says goodbye without any further message and the calling form remains inoperable.
I often use modal windows together with TFrame in this form and have not had any problems so far.
A simple sample project for C ++ Builder is available.
C++Builder 10.4.2
Intraweb 15.2.36
Regards
JürgenS
|
|
|
| CORS Problem with option request |
|
Posted by: Ronald Krause - 08-19-2021, 10:46 AM - Forum: IntraWeb General Discussion
- Replies (1)
|
 |
Hallo,
I have a content handler that delivers some geoJSON for an openlayers map. We use custom HTTP headers for authentication.
All works well if called from inside my application. But if I call it from a second website, I get a "Missing CORS Header" Error.
I have enabled CORS support according to this advice: https://www.atozed.com/2019/04/cors-supp...available/
My understanding is: The call generates an OPTIONS request, and this OPTIONS-Request is not answered correctly.
I tried to add Allow-Origin-headers manually, but none of the events I tried were triggered by the OPTIONS-Request.
I tested ServerController.OnAfterDispach, .OnBeforeDispach, .OnNewSession as well as the ContentHandler.Execute.
The ContentHandlers RequiresSessionStart property does not change anything.
This is Browser protocol:
Code: XHR OPTIONS http://localhost:50085/map?appkey=9e9s3wAqqX1A&unit=location&shape=point&date=17.10.2020&type=1
Error: CORS Missing Allow Origin
OPTIONS: http://localhost:50085/map?appkey=9e9s3wAqqX1A&unit=location&shape=point&date=17.10.2020&type=1
Status: 204 - No Content
VersionHTTP/1.1
Referrer Policy: strict-origin-when-cross-origin
RESPONE HEADERS:
Cache-Control: no-cache, must-revalidate
Connection: keep-alive
Content-Length: 0
Content-Type: text/html; charset=UTF-8
Date: Thu, 19 Aug 2021 10:18:38 GMT
P3P: CP="NO P3P"
Pragma: no-cache
X-IW-Cors-Origin: not found
REQUEST HEADERS:
Accept: */*
Accept-Encoding: gzip, deflate
Accept-Language: fr,de;q=0.8,it;q=0.6,en-US;q=0.4,en;q=0.2
Access-Control-Request-Headers: x-appkey,x-hash,x-unixtime
Access-Control-Request-Method: GET
Cache-Control: no-cache
Connection: keep-alive
DNT: 1
Host: localhost:50085
Origin: null
Pragma: no-cache
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: cross-site
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:92.0) Gecko/20100101 Firefox/92.0
What am I missing?
Best Regards,
Ronald Krause
|
|
|
| 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
|
|
|
|