Click here to get back home

WWW::Authen::Simple table lookup

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
WWW::Authen::Simple table lookup iain 06-08-2005
Get Chitika Premium
Posted by iain on June 8, 2005, 1:20 am
Please log in for more thread options


I am trying to use the above modules for a login application. My
existing database structure uses the table 'users' to hold account
information that I would like the lookup performd on. I've therefore
created the following to reflect this:

*** START ***
if ($url eq undef)

my $simple = WWW::Authen::Simple->new(
db => $dbconn,
cookie_domain => $defDomain,
conf => {
session_table => {
_table => 'sessions',
login => 'username',
address => 'address',
ticket => 'ticket',
point => 'point',
},
user_table => {
_table => 'users',
login => 'email',
passwd => 'clear',
},
},
);
$simple->logout() if $url eq "logout";
$simple->login( $url, $url );
unless ($simple->logged_in())
{
print redirect('/cgi-bin/mta.pl');
}
*** END ***

My problem now is that according to my Apache error logs the module
seems to still be looking for a table named 'Users'.

Am I missing something here??

Regs.

Iain.



Similar ThreadsPosted
RFC: Net::CIDR::Lookup March 18, 2008, 1:19 pm
FreeDB lookup error with Audio::CD June 23, 2006, 8:58 am
PDF::Table October 21, 2005, 10:32 pm
CGI.PM and print table April 13, 2008, 1:18 pm
does SQL::Abstract only formulate queries for a single table? December 26, 2005, 5:52 am
Looking for AJAX HTML Table Form Module August 15, 2007, 11:29 am
Class::DBI::Loader. knowing table names and columns November 29, 2005, 11:35 am
ANN: Apache-Authen-Program 0.93 September 22, 2004, 2:37 am
Authen::Captcha toggle question May 16, 2005, 4:29 pm
Authen::Captcha toggle question March 21, 2005, 5:34 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap