[RADIATOR] Using Radiator:Configurable in hook

C R publist.cr at gmail.com
Tue Oct 10 17:52:12 UTC 2023


Indeed, but, don't forget to strip the attribute from the request first.

C.

Le mar. 10 oct. 2023 à 12:18, Dubravko Penezic via radiator
<radiator at lists.open.com.au> a écrit :
>
> Hi Jan,
>
> thanks I will try.
>
> However, I discover that wouldn't fit well in my authentication process
> :) ... I remember that in some previous  discussion on this list was
> said that configuration variable is use as is for all process and not
> only for one session (and that is what I need) so probably using request
> RADIATOR attribute will fit well.
>
> Regards,
>
> Dubravko
>
> On 10/10/23 11:28, Jan Bělina via radiator wrote:
> > Hi,
> >
> > try this:
> >
> > &main::setVariable('serverIP', '10.10.10.6');
> >
> > Regards,
> >
> > Jan Bělina
> >
> > Dne 09. 10. 23 v 9:48 Dubravko Penezic via radiator napsal(a):
> >> Hi,
> >>
> >> I would like to change dynamically variable defined in config.conf
> >> file like :
> >>
> >> DefineFormattedGlobalVar serverIP 10.10.10.5
> >>
> >> in hook Perl script using Radiator:Configurable maybe
> >> Radiator:Configurable:set or some similar.
> >>
> >> Is it possible , and if it is, it will be very helpful some short
> >> example.
> >>
> >> Regards,
> >> Dubravko
> >> _______________________________________________
> >> radiator mailing list
> >> radiator at lists.open.com.au
> >> https://lists.open.com.au/mailman/listinfo/radiator
> >
> > _______________________________________________
> > radiator mailing list
> > radiator at lists.open.com.au
> > https://lists.open.com.au/mailman/listinfo/radiator
> _______________________________________________
> radiator mailing list
> radiator at lists.open.com.au
> https://lists.open.com.au/mailman/listinfo/radiator


More information about the radiator mailing list