Please Help Urgent!

Results 1 to 2 of 2

Thread: Please Help Urgent!

  1. #1
    via Guest

    Default Please Help Urgent!

    Hi,<BR><BR>I am trying ti implement a login page for several pages so that only registered users can enter the page. However when I type in the username and password, it keep running the script on the login page itself and does not go the page I require it to go to.<BR><BR>The code from the include file for protected page is<BR>&#060;%if Request.Cookies("user") &#060;&#062; "" then<BR> Response.Redirect ("welcome.asp")<BR> session("submitted")="false"<BR> else<BR> &#039send them back to login page<BR> Response.Redirect "Login.asp"<BR> Response.End<BR>end if%&#062;<BR><BR>Can you help me, please?<BR><BR>Thanks<BR>

  2. #2
    Bala, India Guest

    Default RE: Please Help Urgent!

    Some time, cookies doesnt support well. better use session variables like Session.contents("user")=Recordsetvalue then check it out...<BR><BR>it will perfectly work<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts