NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Password Problem

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 06-27-2005, 02:55 AM THREAD STARTER               #1 (permalink)
NamePros Regular
Join Date: Jun 2005
Location: S. Yorkshire, United Kingdom
Posts: 310
Wildchild22 is an unknown quantity at this point
 



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.
Wildchild22 is offline  
Old 06-27-2005, 04:23 PM THREAD STARTER               #2 (permalink)
NamePros Regular
Join Date: Jun 2005
Location: S. Yorkshire, United Kingdom
Posts: 310
Wildchild22 is an unknown quantity at this point
 



anyone?
Wildchild22 is offline  
Old 06-27-2005, 06:55 PM   #3 (permalink)
Senior Member
Join Date: Mar 2005
Location: Singapore
Posts: 1,836
1901gt has much to be proud of1901gt has much to be proud of1901gt has much to be proud of1901gt has much to be proud of1901gt has much to be proud of1901gt has much to be proud of1901gt has much to be proud of1901gt has much to be proud of
 



Animal Cruelty
You might want to paste the code here for us to see.
1901gt is offline  
Old 06-28-2005, 03:08 AM THREAD STARTER               #4 (permalink)
NamePros Regular
Join Date: Jun 2005
Location: S. Yorkshire, United Kingdom
Posts: 310
Wildchild22 is an unknown quantity at this point
 



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.
Wildchild22 is offline  
Closed Thread


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

Liquid Web Smart Servers  
All times are GMT -7. The time now is 01:41 PM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger