Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Mainpage Logon!!
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Mainpage Logon!!

 Post Reply Post Reply Page  <12
Author
jabbasabba View Drop Down
Groupie
Groupie
Avatar

Joined: 11 April 2003
Location: Sweden
Status: Offline
Points: 103
Post Options Post Options   Thanks (0) Thanks(0)   Quote jabbasabba Quote  Post ReplyReply Direct Link To This Post Posted: 26 April 2003 at 2:40pm

OK!

This is how I made the quick login for the default.asp:

<!-- QUICK LOGIN - START --------------------------------- -->
<%
Dim Return

return = Request.ServerVariables("SCRIPT_NAME") & "?" & Request.ServerVariables("QUERY_STRING")
%>

    <form action="login_user_2.asp?return=<%=Return%>" name="frmLogin" method="post">
    <td valign="bottom" width="1">
 <span class="formtext">Username:</span><br>
 <input type="text" name="name" class="input" maxlength="15">
    </td>
    <td valign="bottom" width="1">
 <span class="formtext">Password:</span><br>
 <input type="password" name="password" class="input" maxlength="15">
    </td>
    <td valign="bottom" width="1">
 <input type="submit" value="Login" class="knapp">
    </td>
    <!-- SessionsID -->
    <input type="hidden" name="sessionID" value="<% = Session.SessionID %>" />
    <!-- Add user to "Active Users" -->
    <input type="hidden" name="ActiveUsers" value="True" checked />
    </form>
<!-- QUICK LOGIN - END ----------------------------------- -->


And this is the login_user_2.asp at line 165 (Note: It just returns):
Response.Redirect(request.querystring("return"))



Edited by jabbasabba
Back to Top
 Post Reply Post Reply Page  <12

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.