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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 97,413
» Latest member: keonhacaipizza7
» Forum threads: 2,426
» Forum posts: 11,371

Full Statistics

Online Users
There are currently 1309 online users.
» 2 Member(s) | 1303 Guest(s)
Applebot, Bing, Google, Yandex, keonhacaipizza7, sv388services

Latest Threads
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: MJS@mjs.us
Yesterday, 09:49 PM
» Replies: 1
» Views: 108
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
09-08-2026, 09:03 AM
» Replies: 0
» Views: 105
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-08-2026, 01:48 AM
» Replies: 0
» Views: 114
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 399
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 204
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 566
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 193
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 2,136
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 328
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 929

 
  Need Help with Session Management in IntraWeb 15 !!
Posted by: danielljose - 06-21-2025, 02:34 PM - Forum: IntraWeb General Discussion - No Replies

Hi everyone,

I’m currently working on an internal web app using IntraWeb 15 and running into a bit of confusion regarding session handling. I’ve gone through the official docs, but I’m still not clear on the best practices when it comes to managing sessions in multi-user environments.

Specifically, I’d like to understand:

How IntraWeb ensures session isolation across multiple users?

Are there any recommendations for cleaning up stale sessions manually, or does IntraWeb handle that internally?

What are the best ways to handle session timeouts gracefully (like redirecting users to a login page)?

I’d appreciate it if someone with experience could point me to some code examples like power bi course in delhi or share tips on what’s worked for them. I'm using Delphi 11 and hosting on IIS, if that helps.

Thanks in advance for any guidance!


Daniel Jose

Print this item

  Access violation in SA running as a service
Posted by: v.lasquibar@telefonica.net - 06-20-2025, 06:58 AM - Forum: IntraWeb General Discussion - Replies (3)

Hi,
I've developped an application as SA. When I run the exe and open a browser (either local or from another device in the network) and look for (i.e.) https://(my_ip):8080/$/start, my initial form appears. 
Then, I try to use my application from a Windows service. if I run, in same folder, a version of exe compiled with flag set to False in this way:
myapp /install
I can see the message "service installed successfully", and I can see service in Services Panel. I start the service and, when I open my browser and look for same address, I obtain following error:


Application Error
An unhandled application error has occured within eMomoTaller

Error message: Access violation at address 012725E3 in module 'eMomoTaller.exe'. Read of address 00000008

Depending on the error condition, it might be possible to restart the application.


In order to restart the application, please click the link below:

Click here to restart eMomoTaller

Please note that depending on the actual exception that occured, restarting the application might not be possible. If this is the case, please report the error message to the administrator.


Error details:
------------------------------------------------------------------------------------------------------------------------
Exception message : Access violation at address 012725E3 in module 'eMomoTaller.exe'. Read of address 00000008
Depending on the error condition, it might be possible to restart the application.
Exception class : EAccessViolation
Exception address : 012725E3
Exception Time : 2025-06-20 08:54:32.467
------------------------------------------------------------------------------------------------------------------------
Client IP address : 127.0.0.1
Request PathInfo : /
Request Method : POST
Request User Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:139.0) Gecko/20100101 Firefox/139.0
Cookies Count : 0
------------------------------------------------------------------------------------------------------------------------
(006B15E3){eMomoTaller.exe} [012725E3] HotLog.THotLog.Add (Line 1194, "HotLog.pas" + 1) + $5
(00417831){eMomoTaller.exe} [00FD8831] IWJclDebug.TJclStackBaseList.Create (Line 4478, "IWJclDebug.pas" + 3) + $0
(000060F0){eMomoTaller.exe} [00BC70F0] System.@GetMem$qqri (Line 4962, "System.pas" + 20) + $0
(0000B28A){eMomoTaller.exe} [00BCC28A] System.@NewUnicodeString$qqri (Line 26043, "System.pas" + 10) + $0
(0000C736){eMomoTaller.exe} [00BCD736] System.@UStrCatN$qqrv (Line 31713, "System.pas" + 81) + $0
(008ADE75){eMomoTaller.exe} [0146EE75] Rutinas_Aux.MensajeLog$qqrip14Hotlog.THotLog20System.UnicodeStringt3t3 (Line 1668, "Rutinas_Aux.pas" + 3) + $30
(008AE035){eMomoTaller.exe} [0146F035] Rutinas_Aux.MensajeLog$qqri20System.UnicodeStringt2t2 (Line 1683, "Rutinas_Aux.pas" + 1) + $14
(00C96649){eMomoTaller.exe} [01857649] UserSessionUnit.TIWUserSession.SetupSession (Line 187, "UserSessionUnit.pas" + 2) + $1A
(00C99118){eMomoTaller.exe} [0185A118] ServerController.TIWServerController.IWServerControllerBaseNewSession (Line 63, "ServerController.pas" + 2) + $5
(0038A613){eMomoTaller.exe} [00F4B613] IWServerControllerBase.TIWServerControllerBase.DoNewSession (Line 1297, "IWServerControllerBase.pas" + 2) + $8
(004317A8){eMomoTaller.exe} [00FF27A8] IWServerSession.TIWServerSession.GetSession$qqrx20System.UnicodeString (Line 1256, "IWServerSession.pas" + 70) + $10
(00430465){eMomoTaller.exe} [00FF1465] IWServerSession.TIWServerSession.ExecuteSession$qqrx20System.UnicodeString (Line 888, "IWServerSession.pas" + 40) + $6
(0041D633){eMomoTaller.exe} [00FDE633] IWServer.TIWServer.ExecuteUrl (Line 750, "IWServer.pas" + 99) + $6
(0041DB6B){eMomoTaller.exe} [00FDEB6B] IWServer.TIWServer.Execute (Line 825, "IWServer.pas" + 19) + $9
(0042D173){eMomoTaller.exe} [00FEE173] IWServerSession.HttpExecute$qqrpuci (Line 143, "IWServerSession.pas" + 2) + $3
(004D4B86){eMomoTaller.exe} [01095B86] IW.Server.HTTPIndy.Server.Httpindy.THTTPServerIndy.DoCommandGet (Line 370, "IW.Server.HTTPIndy.pas" + 36) + $17
(0046D19C){eMomoTaller.exe} [0102E19C] InCustomHTTPServer.TInCustomHTTPServer.DoExecute (Line 1518, "InCustomHTTPServer.pas" + 190) + $F
(00457C73){eMomoTaller.exe} [01018C73] InContext.TInContext.Run (Line 185, "InContext.pas" + 2) + $7
(00456C5A){eMomoTaller.exe} [01017C5A] InTask.TInTask.DoRun (Line 136, "InTask.pas" + 0) + $2
(0045B1EE){eMomoTaller.exe} [0101C1EE] InThread.TInThreadWithTask.Run (Line 754, "InThread.pas" + 1) + $3
(0045AAB9){eMomoTaller.exe} [0101BAB9] InThread.TInThread.Execute (Line 439, "InThread.pas" + 50) + $5
(000E246D){eMomoTaller.exe} [00CA346D] System.Classes.ThreadProc$qqrxp22System.Classes.TThread (Line 16396, "System.Classes.pas" + 18) + $5
(0000B1D8){eMomoTaller.exe} [00BCC1D8] System.ThreadWrapper$qqspv (Line 25814, "System.pas" + 45) + $0


Any idea about how to fix this?

Best regards,
          Venancio Lasquibar

Print this item

  Standalone to ISAPI
Posted by: deridan - 06-09-2025, 11:39 PM - Forum: IntraWeb General Discussion - Replies (2)

Is there any current documentation or simple instructions to convert a standalone project to an ISAPI project? Thank you.

Print this item

  overriding session creation call
Posted by: akanksha.tiwari - 06-09-2025, 06:33 PM - Forum: IntraWeb General Discussion - Replies (1)

Hi folks,

I am trying to override DoNewSession() event to write custom code on "/$/Start" call. 

What I am facing is that when DoNewSession event is not getting called when "/$/Start" call is received on server instead the thread directly goes to AfterDispatch event from HttpExecute()->DoCommandGet().

I have tried to override rather redefine BaseNewSession, BaseOnConfig, BaseBeforeDispatch but nothing worked.

My redefined functions are calling for other API calls but for /$/Start.

Any leads would help.

Here's the sample code:

Code:
procedure TIWServerController.IWServerControllerBaseNewSession(
  ASession: TIWApplication); 
var
  lRequest: THttpRequest;
  lSession: TIWUserSession;
  lPath: String;
begin
  //TODO only create this when new user is logging on

  ASession.Data := TIWUserSession.Create(nil, ASession);

  lPath := ASession.Request.PathInfo;

  if (lPath = '/$/start') or
    (ServerGlobals.SessionPaths.IndexOf(lPath) <> -1) then
  begin
    SetNewSessionInfo(ASession, ASession.Data); //custom function to fill session info
  end;
end;
My breakpoint doesn't hit here on /$/Start call.

Print this item

  TIWFileUploader with 500 files
Posted by: Airlizard - 06-09-2025, 01:20 PM - Forum: IntraWeb General Discussion - Replies (9)

Hello:

we have a scenario in our software where the user uploads several files at once. Sometimes users will upload 400/500 files at once and when this happens the TIWFileUploader event AsyncSelectFile is not triggered if we deploy our software using Http.Sys or ISAPI. It works fine when we use the Indy Stand alone server. We are aware there is a limitation on IIS request size, but we'd like to confirm our problem is really an IIS limitation or it may be a IWFileUploader bug.

Print this item

  IntraWeb 16.0.11 is out!
Posted by: Alexandre Machado - 06-09-2025, 09:00 AM - Forum: IntraWeb General Discussion - Replies (2)

Hi guys,

a new update is available with various fixes + new features including some serious performance improvement.

https://www.atozed.com/2025/06/intraweb-16-0-11/

Enjoy!  Big Grin

Print this item

  Atozed site is down
Posted by: Alexandre Machado - 06-05-2025, 07:13 AM - Forum: IntraWeb General Discussion - Replies (2)

Hi guys

we are currently having some problems with a misbehaving update in our server, so the atozed.com site is down (has been for some time now).

We are working on it and we expect to bring it back to life in a few hours.

Cheers,

Print this item

  Unable to download Intraweb
Posted by: dbrain23 - 06-02-2025, 09:04 PM - Forum: IntraWeb General Discussion - Replies (9)

It seems like the Atozed website is down. Is there an alternative site to download Intraweb?

https://www.atozed.com/2024/04/intraweb-15-6-1/

Print this item

  Web Cache (JavaScript, PNG,...)
Posted by: s.noel - 05-28-2025, 09:37 AM - Forum: IntraWeb General Discussion - No Replies

Hi everyone,
I'm using IntraWeb 15.2.25, and in my project, I would like to serve static files through browser caching.
I added four files in the HTMLHeaders of my IW ServerController (2 JavaScript files and 2 images).

First, I would like to know if this step alone is enough for browsers to cache the referenced files directly.

If not, I understand that it is necessary to use the IWServerControllerBaseBeforeDispatch method to handle static files we want to cache (specifying Cache-Control, expiration time, etc.).

Are these two approaches complementary? As I understand it, the first allows injecting code into the HTML header, while the second intercepts requests and customizes the HTTP response?

Thanks in advance for your help, simple examples would be very much appreciated.

Best regards,

Sébastien NOËL
Delphi Developer

Print this item

  TIWIPGeolocationClient::Execute() always false
Posted by: JuergenS - 05-24-2025, 09:59 AM - Forum: IntraWeb General Discussion - Replies (9)

Hi, i have a problem with TIWIPGeolocationClient:

RAD C++ Builder 12 Update 3 (with May Patch)
InternetDirect(Indy) 10.6.2.0
IntraWeb 16.0.10

My Intraweb application 32/64 bit

TIWIPGeolocationClient:
TIPGeoApiInterface(apiIpApiCo, apiIpAPI)
TIWIPGeolocationClient::Execute() returns always false

I found that IPGeoApiInterface::Execute() always return false for the used geo interfaces.
The same software is running with RAD C++ Builder 12.2 and IntraWeb 15.6.7 without any problems for 32/64 bit.


Regards Juergen

Print this item