[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] autoloading multiple scratch variables at login?
Hi All,
I have a catalog where I would like to load two scratch variables from the
UserDB at user login.
I have tried:
UserDB default scratch merchantid
UserDB default scratch adminid
This loaded the adminid scratch var but not the merchantid.
I then read the docs and saw I had to use a hash for multiple entries, as
the second definition seemed to be overwriting the first, so I tried:
UserDB default <<EOF
{
'scratch' => 'merchantid',
'scratch' => 'adminid'
}
EOF
which behaved in exactly the same way.
I am coming to the conclusion that I can only load one scratch variable
using this method. Is this correct?
I could use the autoload routine but this will be processed for every page
delivered, which seems unneccessary.
Any other suggestions?
I would be interested in an autoload type routine for just the login ... an
autologin routine. Is there such a thing.
Any help would be appreciated.
Jonathan
Webmaint.
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users