Quoting Stefan Hornburg (Racke) (suppressed): > Mike Heins wrote: > >Quoting Stefan Hornburg (Racke) (suppressed): > > > >>Hello, > >> > >>one of my customers has a complex login procedure. Therefore I'm doing it > >>in > >>embedded Perl within the login profile. > >> > >>All that worked without problems until the customer wants to save and > >>restore > >>the cart. > >> > >>Now login is no longer possible for users with saved carts: > > > > > >None of this has changed -- it should never have been possible > >with saved carts. > > I know, the "now" was referring to my situation as shop developer where > logins > were no longer possible. > > > > > > > >>Bad structure in carts: Bad structure in carts: 'require' trapped by > >>operation mask at (tag 'perl') line 1. (in cleanup) Undefined subroutine > >>&main:: called at /usr/lib/perl/5.8/Safe.pm line 235. > >> > >>Responsible for this problem is the reval in the Vend::UserDB::get_hash > >>routine: > > > > > >It might make sense to use Vend::Util::string_to_ref instead > >of the direct reval call. > > > > That works like a charm. Any drawbacks for using that method ? It seems > logical to use a canonical routine for deserialization. I think you should commit that to CVS, it is the way it should be done. -- Mike Heins Perusion -- Expert Interchange Consulting http://www.perusion.com/ phone +1.765.647.1295 tollfree 800-949-1889 <suppressed> I am convinced that life is 10% what happens to me and 90% how I react to it. And so it is for you... we are in charge of our attitudes. -- Charles Swindoll _______________________________________________ interchange-users mailing list suppressed http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.