I want to be able to check strings for invalid characters for my login system. Let's say I have the string
Passcode = request.form("Password")
How would I be able to check for / ? ; : ' " . , etc...?
Thanks
Okay, I've done something a little different. I have the querystring stored in a hidden field on the login page and that is posted to my login script. So on the login page:
<input type="hidden" name="Redirect" value="<%=request.querystring("Redirect")"%>
On my login script page, I store the...
Hello,
I'm working on a login script. Right now I have it when a users' session has expired and they click on a link, it will redirect them to the login page, with the URL of the page they tried to access in the address bar. What would I have to do on my login page to redirect to that URL...
Place this between the <HEAD></HEAD> tags:
<script language="JavaScript1.2">
<!--
// Auto maximize window script - By Nick Lowe (nicklowe@ukonline.co.uk)
// Courtesy of SimplytheBest.net (http://simplythebest.net/info/dhtml_scripts.html)
window.moveTo(0,0);
if (document.all) {...
Hello,
I have an Access database that has a column for an expiring date. How would I query the database to display only records whose expiring date is greater than the current date? For example, if the current date was 6/16/2004 and there were these expiring dates:
6/1/2004 6/15/2004 6/17/2004...
When I click Delete, nothing happens. Here's what I have:
<SCRIPT LANGUAGE=vbscript>
<!--
sub delver(sURL)
dim iAnswer
iAnswer = msgbox("Are you sure you want to delete this record?",vbyesno,"Verify")
if iAnswer = 6 then
'Yes was clicked
'Process code...
so this would work then?
window.navigate "http://mysite.com/delsql.asp?KNum=" & KNum & "&CLID=" & ClassID & "
or how else would I be able to get those values by clicking on the link from the database results?
Thanks
Okay so if iAnswer = 6 then I could use a response.redirect to my delsql.asp correct? As of right now, for each record, this is what I have for the delete:
response.write("<a href=""management/delsql.asp?KNum=" & KNum & "&CLID=" & ClassID & """><img src='/images/del.jpg' border='0'...
Hello,
I have a page that displays records from a database. Two columns in the table that displays the records are an edit and delete links that I have. These are referring URLs. On the delete button I want a confirmation box to display to prevent accidental deletion. How can I do this and how...
I guess a quick fix would be if anyone could show me how to use those drop down menu's that refresh data depending on what is selected in the main menu..like what they use on a lot of used car search sites. The code above simply posted a value to the page it was on to determine which drop down...
I am getting this error:
Microsoft JET Database Engine error '80040e10'
No value given for one or more required parameters.
/assignments/management/del.asp, line 37
Here is the code I wrote:
<form name="initialselect" method="POST" action="del.asp">
<select name="Class">
<option...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.