> I am trying to authenticate a user by using a local pop3
> server, this way I can allow access to a (non mail)
> application without the hassle of administrating a password
> database.
>
> As far as I can see the <cfpop> tag only allows the facility
> to query a pop server as if it were a data source, which
> means an incorrect password redirects to an error page.
>
> Is there any way I can attempt to login and get the status
> returned to me, I can do this in ASP but I just cant bear to
> swap Studio for Interdev. The only way I can think of is a
> try catch; surely there is a better way?
You have a couple of options that I can think of, but none that are
especially palatable.
One is using an exception handler (try/catch); after reading the others, you
may decide that that is, in fact, the best way.
Another is to use Lewis Sellers' CFX_TCPCLIENT, which allows you to directly
communicate with the POP server, send it the username and password, and
parse the response. His CFX tags are available at
http://www.intrafoundation.com/.
Finally, you can use Studio to write ASP instead of Interdev! In fact,
Homesite is the ASP developer's editor of choice, according to the polls
I've seen.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message
with 'unsubscribe' in the body to [EMAIL PROTECTED]