| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Regular Join Date: Jun 2005 Location: S. Yorkshire, United Kingdom
Posts: 310
![]() | Password Problem Hey im kinda new here, but i do intend to help others as far as i can, but first, im just wondering if someone could help me with a little problem im having. I have a C.P which is password proetected, i have a HTML form which sends the password to an ASP file, which then does "If the password isn't right, don't show the page, Else, show the page" Which all works fine, except on the CP i have many functions, which open a new ASP page to do the work, and then it redirects the user back to the CP after the task is completed....... but because its not sending the password or anything, the CP wont load back up because i get "Incorrect Password" Any help appreciated Thanks
Last edited by Wildchild22; 06-27-2005 at 02:59 AM.
|
| |
| | THREAD STARTER #4 (permalink) |
| NamePros Regular Join Date: Jun 2005 Location: S. Yorkshire, United Kingdom
Posts: 310
![]() | its pretty long, i'll try and make a simplified version with just the login section....... PS: do you know if session variables can only be used with VBscript ASP? ????: NamePros.com http://www.namepros.com/programming/102132-password-problem.html Code: if (pass!="password"){
Response.Write("<center><h1>Incorrect Password</h><h3><BR>Please try again</h></center>")
}
else {
***DISPLAY THE PAGE***
} i think thats probably the login part in its simplest form i sorted it now thanks
Last edited by Wildchild22; 06-28-2005 at 03:17 AM.
|
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| change your yahoo mail password through gmail. | suthra | The Break Room | 4 | 07-02-2005 10:49 AM |
| vBulletin Problem!!!!!!!!!!!! | domaino | Programming | 11 | 06-23-2005 07:29 AM |
| password protection | hargi22 | Programming | 4 | 06-10-2005 01:39 PM |
| Why We Didn't Have A Drug Problem | dgridley | The Break Room | 0 | 03-13-2005 08:26 AM |
| Windows XP Password Problem | Martin Crepaz | The Break Room | 3 | 03-12-2005 08:25 PM |