Confirm Login Not Working
Basically I cannot get this baby to work other than to allow the GUEST ACCESS and the ADMIN ACCESS the MEMBER ACCESS I am not even sure if it is even connecting to the databse.
Here is the code for the CONFIRMLOGIN page and also the LIBRARY.INC page. When Logging in as a MEMBER it simply redirects to the mainview page but as a GUEST. Ishn't dat vierd? Code:
View Replies
ADVERTISEMENT
I did a lot of changing and uploading and now the login will not work. I type in the U&P and ittakes me back to the login page. I have trouble shot it some.... Here are my findings.... On the page that I am going to I have told it to go to Yahoo! if access is denied. It did go to Yahoo! which tells me that it is getting to that page and denying it.
I just discovered that everything that is in the root directory will accept a login , but anything in a sub folder will not. This used to work. The login page and the pages that let me log in are all in the root. The pages that don't work (BUT USED TO) are in a folder in the root.
By the way I am an administrator on the site, but this happens on pages that look for if I am an admin and pages that guest can get into. The only thing consistant that I see is the sub directory. and it did work.
View Replies
View Related
If we use ASP.NET 2.0 Login Control, we are unable to click on Login and Reset Buttons on Safari running on Apple Mac OS X Version 10.3.2 . How can i resolve the problem.
View Replies
View Related
I have a webform with 3 text boxes and a submit button
Based on the first textbox data I'm filling up the remaining two. If the first box data is not found in the database I want to display a confirm dialog box. I need to know the return value from this confirm dialog as I have to clear the other fields in the form, if the user hits yes the I should retain the values in the other fields. I have tried hours on it by using hidden variables...but still couldnt get it to work.
View Replies
View Related
I'm populating some records by using DataGrid and i have put delete option as item template. now on click of delete i want to popup confirm message box.
View Replies
View Related
I think we have a corrupt IIS metabase on our web cluster. The controller is replicating the problem to the members. What steps can we take to confirm our IIS metabase is intact? I would prefer not to do ADSI calls. Isn't there a command to interate thru the metabase?
View Replies
View Related
I have created a table view of some from an access db. There is a link on the table which calls another page to Delete a record from the db.I would like to know if it is possible to have a button pop up on screen when a link is pressed to confirm that the user wishes to take the action.
Or perhaps a confirm page which details the record and whether the user wants to delete it?
View Replies
View Related
is there a way using asp vbscript and an access 2000 database to confirm that an update sql statement was successful?
for example, the sql:
UPDATE yourTable SET yourCol = "some value" WHERE idCol = 1
doesn't return an error message if the sql cant find a row with 1 as it's value.
to throw something else into the mix, i'm using a parameter update query in access - would that possibly make it easier?!
View Replies
View Related
I'm trying to add a Javascript OnClick feature so that when the end-user clicks the delete option, he/she will see a pop-up window that says, "Are you sure you want to delete this document?". I have something like this in other parts of my site, but just copying and pasting the code doesn't work.
And although I've read tutorials and googled for answers, I'm such a newbie, and can't figure out how to plug a Javascript alert into my code. So many quotation marks and apostrophes, parenthesees ... all I'm getting are syntax errors! Code:
View Replies
View Related
I'm trying to make a confirm window for my site, the confirmation ask user a question with yes or no answer then if the response is yes redirects the user to a page and if its no redirects to another page.The problem is that i need the two pages to carry a different querystring; also i need this to act as a link and not as a form.
View Replies
View Related
How I can open asp file when I click on image after answering the confirm?here is my code:
<img src="delete.gif" border="0" onClick=" if (confirmSubmit()){ <a href='test.asp'>;}" >
<script LANGUAGE="JavaScript">
function confirmSubmit()
{
var agree=confirm("Do you want delete this item ?");
if (agree)
return true ;
else
return false ;
}
</script>
View Replies
View Related
i have a recordset that displayed all the infos about a record and a delete herf or button
i want whenever i wanna delete a record a dialog box to appear with YES/NO/CANCEL button.
yes to confirm delete no to disagree and return to the previous page Cancel to cancel the action and remain in the same page !!
View Replies
View Related
Is there a way to determine the form control type in asp...in other words, to confirm that a control is a eg checkbox when looping the form controls?
View Replies
View Related
how-to do a confirm textbox to match letters in an image in ASP. Code:
View Replies
View Related
I have the following ASP code which displays a confirmation message when a particular form is successfully submitted. What i need to do is open the message in a blank (_self) browser window. Can this be done using ASP or would it have to be done using Javascript?
Code:
View Replies
View Related
I am building a website to pull data from a remote https site using xmlhttp. The data from the https site is behind a login screen. I can successfully get through the login screen with:
set objXMLHTTP = Server.CreateObject("Msxml2.ServerXMLHTTP")
objXMLHTTP.Open "POST", "https://website.com/validate-login2.asp", false
objXMLHTTP.SetRequestHeader "Content-Type", "application/x-www-form-urlencoded"
objXMLHTTP.Send "Username=uname&password=pwd&company=O"
That works great - but then, when I try to go to the next page (where the data is that I want to pull) - I use the same process and I get kicked back out to the login screen? Could there be some cookies, referer, strings being passed normally that I am not including in my second request - How do i find out for sure?
I have used the software IETrace and it looks like some cookies being passed, but how do I know for sure if (and what exactly) it is using?
View Replies
View Related
I check to see if a certain submission button is asking for removal. If the removal is true, I update a recordset's delete column. This has been tested and it works. However, now I'd like to prompt the user to make sure that he/she wants to remove the record. Here's the code: ....
View Replies
View Related
this is ASP issue.
<A HREF="http://SomeWebSite" OnClick="return confirm('Are you
sure?')">Click me</A>
or
<A HREF="http://SomeWebSite" OnClick="return confirm('Are you
sure?');return false;">Click me</A>
Everything fine in XP and 2000, but in all WindowsMe Stations, it redirects
the link even the users click no, I check all the computers, they have installed IE6 Sp1 and js enabled. What wrong ?
View Replies
View Related
I want to login to a page using MSXML2.ServerXMLHTTP.4.0 or an object like this, I must send the form variables needed to login when I try to login to the page. But the problem is, that the page looks like a exe file (not a asp file or php file or what ever). The name of the page I try to login is something like "/pw?/session/login", nothing more, without extension. I have tried the code with a normal asp file with session registration and login process and it worked, but not with this file.
View Replies
View Related
I just installed PWS on 2 machines (XP & 98).
The problem is that I can run the ASP files in the wwwroot folder when I use http://localhost from my browser or RUN (and that's for the default.asp). But the asp files do not work when I call them from a hyperlink in an HTML file.
View Replies
View Related
After I moved the site to new server the mailing method stoped working , the cdo pull the email from sql database on the same server .. although it says sent to # recipients.
I send a webpage (newsletter) exisit on the server "I use full url" also the registration page gives when registration the error: CDO.Message.1 error '80040218'
Unknown Error
/extra/news/reg3.asp, line 251
line 251 is objSendMail.CreateMHTMLBody "http://www.example.com/newsletter.html"
I saw description of the error it sayes that I have to use full url ...but I am using it ...
any Idea ...
View Replies
View Related
I have a sever 2003 machine of which I am trying to host a webisite on. The webpages I uploaded has lots of .asp files that could not be open. I'd contact the website disgner and complains about it and an he blaims it on my server not supporting asp technology.
My question today, is there a way to test what the problem really is?
View Replies
View Related
In my serverside script I have gone down to the bare bones and the following doesn't seem to work:
dim fs
dim fst
dim LineOut
set fs = Server.CreateObject"Scripting.FileSystemObject")
set fst = fs.CreateTextFile("C:TEMPhome.tmp",True)
lineout = "MAFFIdentifier" & vbtab & "Title" & vbtab & "Initials"
fst.writeline(lineout)
lineout = " ==================================================
========"
fst.writeline(LineOut)
fst.close
set fs = nothing
The server gets to the end since I place a response.write in to test.
If I cut and past this into VB declare the variables as objects and lineout as string and remove the "Server." from the line when setting fs, then it works fine in VB.
View Replies
View Related
The problem is that I can run the ASP files in the wwwroot folder when I use http://localhost from my browser or RUN (and that's for the default.asp). But the asp files do not work when I call them from a hyperlink in an HTML file.If I do that, all I see are the contents of the asp file.
View Replies
View Related
Just set up Dedicated Server Hosting with GoDaddy. I put a very simple ASP page in the home web directory and try to load it and get a very generic error. A simple HTML file works fine. Obviously it's a permissions issue or maybe some service is not running.
View Replies
View Related
i got an sql sentence that is executed in toad without problem; returns 1 but when i run the sql in asp i get returned 0. Code:
SELECT COUNT(*) as st
FROM sest_sklepi
WHERE rok<(SELECT TO_CHAR(SYSDATE, 'DD.MM.YYYY') as b FROM dual)
View Replies
View Related
New to IIS, Why will IIS 5.0 not server up my ASP web pages? I cannot even get to the help because it is an ASP Page. I get an error in IE that states "HTTP 500 Internal server error". I have looked in the configuration and cannot find anything related to ASP. What can I do to serve up ASP web pages?
View Replies
View Related
I'm having difficulties making PWS work. I have WIN98SE. It was working for a while but now it says:
Quote: Problem:
An unexpected error occured.
Solution:
Please restart the Publishing Wizard.
View Replies
View Related
Im finishing up a content management system for a client. It works fine except the way they have the pages set its nessessary for someone to open each page made and change it to the new directory.
the script copys a folder from lets say
http://fake/templets
To
http://fake/user
so now we end up with something like
http://fake/user/smith
On the pages in smith is there a way to make the look at their url and strip off all but the /smith part?
Or maby someone could tell me what im trying to do is called and ill be able to do a better search online.
View Replies
View Related
Here are the scripts. interest is 0, but, it will not execute then clause. Why?
interest = round(rs("CURR_WORKING_INTEREST"))
response.write interest
if sizeworkint < 3 OR interest<>0 then CURR_WORKING_INTEREST2 =
left(rs("CURR_WORKING_INTEREST"),2) + ".000000" end if ..
View Replies
View Related
I just noticed my upload function isn't working since I have move the folders and files to different directory.
Now I get this error:
Error Type:
Persits.Upload.1 (0x800A003D)
Wrong Content-Type. Make sure you have included the attribute ENCTYPE="multipart/form-data" in your form.
/foldername/UploadScript.asp, line 54
line 54 is:
Upload.Save "z:
ewfolder"
I have given modify, read & write permission for IUSR_MachineName account on NewFolder and given Read & Write permissions in IIS.
I also included ENCTYPE="multipart/form-data" attribute in my upload form.
View Replies
View Related
I'm using IIS 5 on a win xp machine for all my testing, before I upload to our live server. I've installed the SMTP service and it's running with no errors.
Dose anyone know anything about the above set-up not supporting "CDONTS.NewMail" for sending email using ASP..?
I get the following error message: "Server object, ASP 0177 (0x800401F3) Invalid class string".
View Replies
View Related
I have taken some SQL from MS Access and got it working. I have since updated the SQL in Access but cannot get the additional part working in ASP. The working SQL I have in asp is:-
strQuery = strQuery & " HAVING ((OrderQuantity-Sum(QtyShipped)>=0) AND
(OrderLines.SelectAll=-1) AND (PCBForecast.HeldMarker='Scheduled'))"
I need to add the following but keep getting errors saying my SQL is
incorrect.
This is the additional part which should also be on this line:-
AND ((PCBForecast.ShipETA) Between Now() And #12/30/3000#))"
or another variant I require
AND ((PCBForecast.ShipETA)=#12/31/3000#))"
What is the correct way to write both of these, as I cannot get either
to work in asp, yet they work in Access.
View Replies
View Related