[thelist] Check for auth w/o forcing logon?

Rob Smith rob.smith at thermon.com
Wed Apr 3 13:10:01 CST 2002


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--
[ Picked text/plain from multipart/alternative ]
I'm coding a CMS right now, and the more straight forward approach to this
that we've chosen is the cookie method. ASP understands it and is
practically built right in. http://www.w3schools.com/asp/asp_cookies.asp.

The only other weird way I wouldn't dare do is IP address detection.
Dangerous and not recommended.


-----Original Message-----
From: Dougal Campbell [mailto:dougal at gunters.org]
Sent: Wednesday, April 03, 2002 1:04 PM
To: thelist at lists.evolt.org
Subject: [thelist] Check for auth w/o forcing logon?


Is there a way (ASP or PHP) to check whether a user has previously
authenticated on our site (Basic auth), without forcing them to actually
logon if they hadn't? In other words, I want to give them different
content, depending on whether they have previously visited a
password-protected page elsewhere on the site.

Or will I need to switch from basic auth to a cookie-based scheme to
accomplish this? I suppose I could set a cookie from *within* the
protected area, but I'm still curious to see if there's a way to detect
it without cookies.

--
Ernest MacDougal Campbell III, MCP+I, MCSE <dougal at gunters.org>
http://dougal.gunters.org/             http://spam.gunters.org/
  Web Design & Development:  http://www.mentalcollective.com/
       This message is guaranteed to be 100% eror frea!

--
For unsubscribe and other options, including
the Tip Harvester and archive of thelist go to:
http://lists.evolt.org Workers of the Web, evolt !



More information about the thelist mailing list