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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 101,862
» Latest member: guispaninder1980
» Forum threads: 2,428
» Forum posts: 11,381

Full Statistics

Online Users
There are currently 1255 online users.
» 0 Member(s) | 1252 Guest(s)
Applebot, Bing, Google

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

 
  delphi 11 support
Posted by: rudyPos - 09-13-2021, 12:28 PM - Forum: IntraWeb General Discussion - Replies (1)

When can Intraweb support for Delphi 11 be expected?

thanks... Big Grin

Print this item

  Maintain url with handler
Posted by: Anto90 - 09-08-2021, 07:51 AM - Forum: IntraWeb General Discussion - Replies (4)

Hi at all,
I have this situation: I have a link like this (in a tag) http://127.0.0.1:8888/Curriculum/KeyNumb...r&DaHome=1. 
I have registered an handler in this way
with THandlers.Add ('/Curriculum/', '', TContentForm.Create (TBSCurriculumCandidatoSingoloForm)) do
begin
  CanStartSession: = True;
  RequiresSessionStart: = False;
end;
so the /Curriculum/ display TBSCurriculumCandidatoSingoloForm form.
When clicked link http://127.0.0.1:8888/Curriculum/KeyNumb...r&DaHome=1 the form is displayed but the link in the address bar change like this: http://127.0.0.1:8888/hkn6AtmCEulz039mSC...urriculum/ this part KeyNumber-Surname-Name.html?CurriculumKey=KeyNumber&DaHome = 1 is deleted.
Is it possible to mantain all url like original (http://127.0.0.1:8888/Curriculum/KeyNumb...r&DaHome=1) for search engines?

Thank you

Andrea
P.s : i use intraweb 15.2.31

Print this item

  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.

Print this item

  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

Print this item

  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?

Print this item

  servercontroller -> Onclose session call to url
Posted by: joelcc - 08-30-2021, 04:42 PM - Forum: IntraWeb General Discussion - Replies (2)

In the IWServerControllerBaseCloseSession I need to be able to call a url to close a session on an identity server.  (I do not need to redirect the user.   I only need to call the url)

Has anyone already done this?

Thanks.

Print this item

  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? Huh

Thank you!
Ike

Print this item

  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 ?

Print this item

  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

Print this item

  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

Print this item