(RADIATOR) Error Message

Toomas Kärner tomkar at estpak.ee
Mon Nov 18 06:35:31 CST 2002


Hi,

You can do it like this.
First you set up session database.
Second you put in a keyword RejectHasReason.
Third you add such postauthhook what changes your reject message

PostAuthHook    sub { \
my $originalmessage=${$_[3]}; \
my $mymessage; \

    if (${$_[2]} == $main::REJECT  )  {\
    $_=$originalmessage; \
    if(/Simultaneous-Use/) { \
 $mymessage='Go and visit plah plah plah.'; \
 } \
    if(/StringToFindInRejectMessage/) { \
 $mymessage='MyNewRejectMessage'; \
 } \
    ${$_[3]}=$mymessage \
    if ($mymessage); \
    } \
}

----- Original Message ----- 
From: "Chris Kay" <chris at eleet.com.au>
To: <radiator at open.com.au>
Sent: Monday, November 18, 2002 2:10 PM
Subject: (RADIATOR) Error Message


> 
> Is there a way to manipulate error message that the customer see on 
> The clients side, I knows these are windows error messages just not sure
> If I can change these....
> 
> EG: I have a port limit set for groups of users and each limit is
> different, and I
> Would like to see if I could display a message like 
> 
> "No more connections from your group is permitted, please visit
> http://blah,
> For assistance."
> 
> Can this be done?
> 
> Regards
> Chris Kay
> Techex Communications Pty Ltd
> 
> ===
> Archive at http://www.open.com.au/archives/radiator/
> Announcements on radiator-announce at open.com.au
> To unsubscribe, email 'majordomo at open.com.au' with
> 'unsubscribe radiator' in the body of the message.
> 

===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list