| Welcome, Guest |
You have to register before you can post on our site.
|
| Latest Threads |
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
Yesterday, 03:02 AM
» Replies: 0
» Views: 67
|
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
09-08-2026, 09:03 AM
» Replies: 0
» Views: 59
|
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-08-2026, 01:48 AM
» Replies: 0
» Views: 76
|
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 333
|
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 166
|
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 519
|
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 166
|
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 2,059
|
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 301
|
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 859
|
|
|
| DesktopTop parameters |
|
Posted by: hannaconner - 08-01-2025, 06:43 AM - Forum: IntraWeb General Discussion
- Replies (1)
|
 |
My site can be opened by a browser from different devices. Computer, tablet or mobile phone. Each of these devices has its own screen size. I would like depending on the size of the screen on which the site is displayed to change its formatting. (apply different arrangement of elements on the screen for smartphones and for computers). To do this, I need to get the parameters of the screen on which the information is displayed by the browser at startup. Primarily interested in the height and width of the screen
|
|
|
| How to change HTTP 500 to 410 when session has timed out in IntraWeb? |
|
Posted by: VoAnatol - 07-25-2025, 07:02 AM - Forum: IntraWeb General Discussion
- No Replies
|
 |
Hello!
I am using Delphi with IntraWeb.
When a user's session times out (due to timeout), the next request to the application returns HTTP 500 (Internal Server Error).
In my application logic, HTTP 500 is incorrect, since it is not an internal error, but a known session timeout situation.
I would like to return HTTP status code 410 (Deleted) to better reflect the real reason and provide client-side handling.
I could not find a documented way to intercept this situation and change the response code.
Is there a recommended approach to replace the status code with my own?
Thanks!
|
|
|
| Enumerations |
|
Posted by: Sugarloafer - 07-25-2025, 02:00 AM - Forum: CrossTalk General Discussion
- Replies (1)
|
 |
I am using Patagames.PDF.Net with Crosstalk. One of the enumerations is caussing issues wth Delphi.
PdfUserAccessPermission = (
NoPermissions = -3904 {4294963392}
, Reserved = -3904 {4294963392}
, PermitAll = -4 {4294967292}
, PermitPrint = 4
, PermitModifyDocument = 8
, PermitExtractContent = 16
, PermitAnnotations = 32
, PermitReserved = 192
, PermitFormsFill = 256
, PermitAccessibilityExtractContent = 512
, PermitAssembleDocument = 1024
, PermitFullQualityPrint = 2048
, PermitReserved2 = -4096 {4294963200}
);
The CrossTalk generated numbers in {} cause compiler errors. These numbers are correct per Patagames documentation.
It seems Delphi accepts numbers in the range pf -2,147,483,647 to 2,147,483,647. The negative numbers shown above work.
I think CrossTalk needs to handle this somehow.
However, make it your lowest priority. I don't use this particular enumeration. But it is a pain having to fix it every time Crosstalk generates the file.
|
|
|
| Misconfigured Content Security Policy |
|
Posted by: pgnair - 07-21-2025, 05:51 AM - Forum: IntraWeb General Discussion
- Replies (3)
|
 |
Kindly assist to resolve the below vulnerability
Description: A misconfigured Content Security Policy (CSP) can expose a web application to various security vulnerabilities, compromising the integrity, confidentiality, and availability of the application and its data. The misconfiguration can occur due to overly permissive settings, the use of insecure directives, or a lack of specificity in defining resource sources.
Impact: The presence of unsafe-inline in the Content Security Policy (CSP) does not have an immediate impact if no inline scripts are used or executed. Unsafe-eval is also present which allows the use of JavaScript’s eval() function and similar methods (e.g., setTimeout() with string arguments) However, it weakens the overall security posture by allowing potential future
It is recommended to Remove unsafe-inline and Remove unsafe-eval
here is CSF currently using
aReply.AddHeader('Content-Security-Policy', 'default-src https: ' + quotedstr('self') +
'; img-src https: ' + quotedstr('self') +
'; object-src https: ' + quotedstr('self') +
'; style-src https: ' + quotedstr('self')+
' '+ quotedstr('unsafe-inline') +
'; script-src https: ' + quotedstr('self')+
' '+ quotedstr('unsafe-inline') +
' '+ quotedstr('unsafe-eval') +
'; frame-ancestors ' + QuotedStr('self'));
Remove the unsafe-inline and unsafe-eval will meet the purpose?
|
|
|
| TIWjQDBGrid DateFormat |
|
Posted by: troberts - 06-27-2025, 06:48 AM - Forum: IntraWeb General Discussion
- Replies (2)
|
 |
How can I format a date in the grid? I've tried different values in the DateFormat property but they don't have any effect. The field the column is connected to is of type DateTime.
Also the format displayed varies between browsers. In some browsers it displays as d/m/y, and in others m/d/y. I suspect this is a browser settings. But I would rather control the format myself than depend on a settings in the browser.
|
|
|
|