[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

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


Closed Thread
 
LinkBack Thread Tools
Old 06-27-2005, 01:55 AM   #1 (permalink)
NamePros Regular
 
Join Date: Jun 2005
Location: S. Yorkshire, United Kingdom
Posts: 310
93.00 NP$ (Donate)

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 01:59 AM.
Wildchild22 is offline  
Old 06-27-2005, 03:23 PM   #2 (permalink)
NamePros Regular
 
Join Date: Jun 2005
Location: S. Yorkshire, United Kingdom
Posts: 310
93.00 NP$ (Donate)

Wildchild22 is an unknown quantity at this point


anyone?
Wildchild22 is offline  
Old 06-27-2005, 05:55 PM   #3 (permalink)
vinedomains.com
 
1901gt's Avatar
 
Join Date: Mar 2005
Location: singapore
Posts: 1,735
99.95 NP$ (Donate)

1901gt is a name known to all1901gt is a name known to all1901gt is a name known to all1901gt is a name known to all1901gt is a name known to all1901gt is a name known to all

Animal Cruelty
You might want to paste the code here for us to see.
__________________
Domains For Sale:
HUMOO.com | CAFOO.com | VAJOO.com | PEPOO.com | MOCAU.com | JASLI.com | LUVVO.com | DINOMO.com | MajorBlogs.com | LatestMovies.net
1901gt is online now  
Old 06-28-2005, 02:08 AM   #4 (permalink)
NamePros Regular
 
Join Date: Jun 2005
Location: S. Yorkshire, United Kingdom
Posts: 310
93.00 NP$ (Donate)

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?

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 02:17 AM.
Wildchild22 is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
change your yahoo mail password through gmail. suthra The Break Room 4 07-02-2005 09:49 AM
vBulletin Problem!!!!!!!!!!!! domaino Programming 11 06-23-2005 06:29 AM
password protection hargi22 Programming 4 06-10-2005 12:39 PM
Why We Didn't Have A Drug Problem Dave in Carthage The Break Room 0 03-13-2005 07:26 AM
Windows XP Password Problem Martin Crepaz The Break Room 3 03-12-2005 07:25 PM

Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 04:20 AM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85