| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 1798 online users. » 3 Member(s) | 1790 Guest(s) Baidu, Bing, Facebook, Google, Yandex, net88incom, Okkplayio, vaobong88
|
| Latest Threads |
VCL conversion
Forum: Delphi General Discussion
Last Post: tobenschain
06-20-2026, 05:00 AM
» Replies: 0
» Views: 45
|
IW 16.2.0 Missing librari...
Forum: IntraWeb General Discussion
Last Post: Mikhael
06-18-2026, 04:58 PM
» Replies: 4
» Views: 596
|
TIWjQDBGrid changing UI
Forum: IntraWeb General Discussion
Last Post: BoostedCruiser
06-08-2026, 02:02 AM
» Replies: 36
» Views: 70,250
|
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: Fabrizio Conti
06-04-2026, 09:14 AM
» Replies: 3
» Views: 461
|
Access Violation When Val...
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
06-03-2026, 08:47 AM
» Replies: 2
» Views: 509
|
Bootstrap5
Forum: IntraWeb General Discussion
Last Post: geraldtatum
06-02-2026, 06:24 AM
» Replies: 1
» Views: 407
|
weakpackageunit contains ...
Forum: IntraWeb General Discussion
Last Post: rlebeau
05-26-2026, 04:56 PM
» Replies: 4
» Views: 511
|
Custom 404 handler
Forum: IntraWeb General Discussion
Last Post: CfawesDwale
05-21-2026, 08:02 AM
» Replies: 0
» Views: 245
|
PopUp Menu
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
05-13-2026, 04:35 AM
» Replies: 4
» Views: 8,195
|
Image question on tiwjqdb...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
05-13-2026, 03:32 AM
» Replies: 3
» Views: 4,113
|
|
|
| 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?
|
|
|
|