<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
<br>> >   >  >  There isn't much in the archives about this feature, but I have tried everything I can think of. I've tried *setting* postlogin_action in the profile in catalog.cfg, in the [userdb] tag that performs the login and in the login form. I've tried *defining* the action in profiles.login and in a scratch by it's name on the login page. As a test I am just setting a scratch to success and checking that, but nothing I do is working.<br>> >>><br>> >>> Here is an example of how I try to set it in the userdb tag that is performing the login.<br>> >>> [userdb function=login profile=user_agents postlogin_action=Ev_user]<br>> >>><br>> >>> I would have thought, this would mean I could make an entry for profiles.login with ITL, but it just doesn't work.<br>> >>><br>> >>> __NAME__ Ev_user<br>> >>><br>> >>> [set evald]success[/set]<br>> >>><br>> >>> __END__<br>> >>><br>> >>><br>> >>> Does this feature still work?<br>> >><br>> >> It expects a macro, similar to Autoload. So the following should work:<br>> >><br>> >> Sub ev_user<<EOS<br>> >> sub {<br>> >>       $Scratch->{evald} = 'success';<br>> >> }<br>> >> EOS<br>> >><br>> >> UserDB user_agents postlogin_action ev_user<br>> > Thanks for the clarification Racke. Since the docs were down, I was going by RTFM which says it can also be an block of ITL... which I don't believe can be in a sub. RTFM must be incorrect. Best, Paul                                     <br>> ><br>> <br>> ITL should work too, but I would recommend using a subroutine :-).<br>> <br>> Untested:<br>> <br>> UserDB user_agents postlogin_action <<EOITL<br>> [set evald]success[/set]<br>> EOITL<br>> <br>> Regards<br>>            Racke<br><BR>Ahh, I see. I didn't know that.<BR> <BR>Yes, I do it in ITL, then I have someone who knows perl better than me perlize it after it is settled and tested for a while. My perl might be less efficient than ITL :-)<BR> <BR>Thank you<BR> <BR>Paul<BR> <BR> <BR> <BR> <BR>                                        </div></body>
</html>