% Username="thaipak" Password="thaipak06" Validated = "OK" if Strcomp(Request.Form("User"),Username,1)=0 AND Request.Form("password") = Password then 'Set the validation cookie and redirect the user to the original page. Response.Cookies("ValidUser") = Validated 'Check where the users are coming from within the application. If (Request.QueryString("from")<>"") then Response.Redirect Request.QueryString("from") else 'If the first page that the user accessed is the Logon page, 'direct them to the default page. Response.Redirect "members_area.456321()478354.asp" End if Else ' Only present the failure message if the user typed in something. If Request.Form("User") <> "" then Response.Write "
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| design by bamboo-media |
copyright © Thai-Pakistan Chamber of Commerce 2006. All rights reserved
|
|
Thai-Pakistan
Chamber of Commerce
Thai Samut Asset Co., Ltd., Unit J, 16th Floor, 163 Suriwongse Road, Bangrak, Bangkok 10500 Thailand Tel: +66 (0)2-634 0147-8 Fax: +66 (0)2 634 0149 Email: info@thai-pakistanchamber.com |