Hidden variables

Results 1 to 2 of 2

Thread: Hidden variables

  1. #1
    Join Date
    Dec 1969

    Default Hidden variables

    Could u please help me with hidden variables. How do I store some value in it and based on the value stored how do I take a corresponding action.<BR>for instance:::<BR>On the login page how do I use a hidden variable and based on the userID and password entered how do I branch to displaying messages stating whether the user id and password is valid r not.<BR><BR>Note:: I want to do all the processing on a single .asp page.<BR>Ur help in this regard will be highly appreciated.

  2. #2
    Join Date
    Dec 1969

    Default RE: Hidden variables

    username=request.form(&#039;username&#039;)<BR>pas sword=request.form(&#039;password&#039;)<BR><BR>if username=XYZ and password=dfjd then<BR> do whatever<BR>end if<BR>&#060;form method=post action=samepage.asp&#062;<BR>username<BR>Password< BR><BR>submitbutton<BR>&#060;/form&#062;

Posting Permissions

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