CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Auto LOGIN

Print topic Send  topic

Author Message
Christoph Nagele
Posted: 05/20/2003, 12:35 PM

Hi anybody there ! I need to implement an AUTOMATIC LOGIN Function (ASP) which remembers Login and Password. Can anybody help me with that ? The only example offered here does NOT work.

Thank you !

Christoph
Christoph Nagele
Posted: 05/21/2003, 9:20 PM

Does your site use NT authentication - if not you need to implement a Cookie based solution.

To do so you need to change the Common.asp routines specifically the
CCGetUserID() login.

To get the NT Authentication you need to use the
Request.ServerVariables("LOGON_USER")
then Trim the Domain off The Logon User eg DERESER\Christoph.Nagele
Otherwise pull back a cookie:
Request.Cookies("UserID") - When writing the cookie set a long expiration time.

If you use either methods you need to plan verification and security where possible.

Hope that gives you a clue. :-)

Edd


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.