[ic] CookieLogin with indirect_login
bill at bottlenose-wine.com
Tue Mar 6 14:22:13 EST 2007
I'm having trouble getting automatic logins to work with CookieLogin.
I am using Interchange 5.4.1 (UserDB.pm,v 2.41 2005/11/08) with
indirect_login. I am able to login with the correct value in my
indirect_login field (email). However, the MV_USERNAME cookie is set
to the value of the username field. When I come back to the site the
cookie login is attempted but since indirect_login is set for my
userdb the following indirect_login query is attempted:
select username from userdb where email = '61'
I login like so:
[userdb function=login indirect_login=email cgi=1]
I'm logged in but MV_USERNAME cookie is the username field from userdb.
When I come back indirect login is attempted with the value of my
username from the MV_USERNAME cookie not my e-mail address.
Is anyone using inderct_login with CookieLogin and is it working?
Bottlenose - Wine & Spirits eBusiness Specialists
More information about the interchange-users