Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: UserSession breaking change



Permlink Replies: 2 - Last Post: Dec 20, 2017 2:26 PM Last Post By: Alexandre Machado
Graham Murt

Posts: 70
Registered: 5/15/07
UserSession breaking change
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 20, 2017 6:01 AM
I've just installed the latest Delphi 10.2.2 patch (2004) and my Intraweb project is no longer compiling because TIWUserSession no longer has a WebApplication property.

Was this removed? If so what is the work around to get this working again? I use the WebApplication.RunParams to access query parameters within the UserSession.

Thanks,
Graham
Eitan Arbel

Posts: 508
Registered: 2/24/13
Re: UserSession breaking change
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 20, 2017 6:22 AM   in response to: Graham Murt in response to: Graham Murt
you should be able to work with WebApplication in the UserSessionUnit, but WebApplication is not a property.
does it work if you add IWAppForm in the uses?
Alexandre Machado

Posts: 1,754
Registered: 8/10/13
Re: UserSession breaking change
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 20, 2017 2:26 PM   in response to: Graham Murt in response to: Graham Murt
Graham Murt wrote:
I've just installed the latest Delphi 10.2.2 patch (2004) and my Intraweb project is no longer compiling because TIWUserSession no longer has a WebApplication property.

Was this removed? If so what is the work around to get this working again? I use the WebApplication.RunParams to access query parameters within the UserSession.

Thanks,
Graham

Run IntraWeb Bundled Removal Tool, after installing any Delphi update (because Delphi installer always copies all IntraWeb DCU's from bundled edition to your HDD).

You can find it in your \Tools subfolder or through this direct download link: http://downloads.atozed.com/intraweb/IWBundledRemovalTool.zip

- Select your Delphi version
- Uncheck the option "Delete IntraWeb Packages"
- Click "Remove" button and you are done.

Try to rebuild your application again.
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02