Click here to Skip to main content
15,881,709 members
Articles / Web Development / HTML

Multi-User Login and Authentication Code

Rate me:
Please Sign up or sign in to vote.
3.52/5 (20 votes)
9 Feb 20064 min read 155.2K   4.8K   68  
New user registration, user login, user password retrieval, user account information, active users on site information, site administrator facilities, and a lot more..
<%@ Language=VBScript %>

<%Response.Expires = -1 %>
<%Response.ExpiresAbsolute = Now() - 1 %>
<%Response.AddHeader "pragma", "no-cache" %>
<%Response.AddHeader "cache-control", "private" %>
<%Response.CacheControl = "no-cache" %>

<% 
Response.Expires = -1000
Response.Buffer = True
Response.Clear 
%>

<html>

<!--RAHUL MAHAJAN -->
<!--SCRIPT DESIGNED AND DEVELOPED BY RAHUL MAHAJAN -->
<!--MULTI-USER LOGIN WITH DATABASE CONNECTION-->
<!--FEEL FREE TO MAKE CHANGES ACCORDINGLY-->
<!--If you face any problem, Please mail me anytime-->
<!--E-MAIL:mahajan_rahul@hotmail.com-->
<!--Date: 5th May, 2005-->
<!--Please rate it on www.planetsourcecode.com-->

<head>
<title>Logout</title>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<STYLE TYPE="text/css"> 

BODY 
{ 
scrollbar-base-color: #7782C3; 
scrollbar-arrow-color: #ffffff;
scrollbar-DarkShadow-Color: #000000; 
}
</STYLE>
</head>

<body bgcolor="#FFFFFF">

<% Dim sTarget
sTarget = "admin.asp"
%>

<!--THE BELOW CODE IS USED TO CLOSE THE SEESION CREATED AT THE TIME OF LOGIN -->

<%
Session.Abandon()
Response.Redirect sTarget
Response.End
%>

<!--END OF THE CODE -->

</body>
</html>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
India India
This is Rahul Mahajan from New Delhi, India. I'm Master Of Computer Application and currently working as Sr. Web/Graphics Designer/Developer and Presentation Specialist. I'm very much interested in developing ASP and JavaScript codes. There are lots of codes and script developed by me available online including developerdex.com, a1vbcode.com, programmerheavens.com, asp101.com, 1javastreet.com, 1aspstreet.com, pscode.com, 1cplusplusstreet.com, 1perlstreet.com, javacode.net, developerfusion.co.uk etc... Winner of Superior Coding Contest at Planetsourcecode.com.
Areas of specialization - HTML, DHTML, Java, JavaScript, ASP, .Net, VB, VB.Net, CSS, MySql etc.

Comments and Discussions