Recommended way to alter Too Many Sessions error message

Hi,

I handle the OnMaxSessionsReached event in the TDADBSessionManager and set aFail := True.

This raises an EROException error with the text “Too many sessions. Try again in %d minute(s)”.

I’d like to change that for my own text, but I don’t know how to override the resourcestring err_TooManySessions (uRORes.pas).

What’s the best way to do that?

Thanks,
Stuart

you can raise own custom error in OnMaxSessionsReached event

Thanks Evgeny - done that & it works fine.

Cheers