Login.asp And Register.asp Link To MS SQL
how to build a login.asp page with a session control and register.asp page with validate input value.
View Replieshow to build a login.asp page with a session control and register.asp page with validate input value.
View RepliesI need help with creating a register process for the user(Name, Password, email and phone) and then them being able to login(using name and Password)
I using ASP and access database, I'm also doing it in wap/wml but I think that if I had it in just normal html I would be able to convert it
I have set up a login and register function in my site. When a user logs in they are re-directed to the homepage.
What i want to do is display the users name after they have logged in, on the homepage. How do i do this?
I run a classified ads site, and one of the features are that the user will be notifed of all new ads (at once) that are posted, everynight. At the moment the user must go to a specific page to enable this, what i would like to do is set this automatically when registering to enable.
the database uses yes and no for this feature, however i have tried entering a default value of yes, however when someone registers it shows the (-1) in the database and not the yes.
Is it possible to creat aSelf-register form on IIS? Using Widows server 2003, is ther any script needed to do so, or any extensions.
View Replies View RelatedI have this ASP page that checks if a certain DLL is registered on a client machine. If it ain't registered, then it should be registered.
Here is the part of my code that supposedly registers the dll: Code:
I made a small executable file in VB, compiled it and threw it in the Bin folder of my virtual web directory, however when I try to run it from an ASP webpage I keep getting the error that it can not create the object.
After some googling everyone seems to say that you must register the .exe with the server first. My question is, how do I go about registering the .exe file with the server (I have admin access to the server) so that I can use it in my ASP webpage.
This regards a listing of youth events. I have a Access DB that users input to. A page where users can view input and the events. I use Dreamweaver to make this. When entering informaiton into the db a user would enter in the Event_Reg field the site where a person can go to register for the event. I would like to make a Link Titled "Register" for all events that users enter into the db.
But when a users clicks "Register" it would take them to the site specified in the Db Event_Reg field. Below is the dynamic code I am using now. It will produce the actual site address. I just want it to show Register when clisked take them to the appropriate site.
<%=MakeHyperlink((Recordset1.Fields.Item("Event_Reg").Value))%>
How do I register FileSystemObject and ImageGlue component with MTS? Because the files manipulated using ImageGlue & FSO need to be recorded in the database. Without transactions, a lot of 'floating' files (without entry in the database), and entries without the physical files left around on the server.
View Replies View RelatedI downloaded your "A Beginner's Guide to CDOSYS" article I
displayed the Sample1.htm page with the IE6 within
a web folder. The page display perfectly. I filledin the
e-mail info and clicked send. All worked without any error
message. I destination e-mail address never received
the mail. Do I need to setup IIS 5 first? Register it
somehow. Please advise. I'm anxious to use this built
in component.
My ISP is Comcast. My OS is Windows 2000 server Pro.
I setup the MS Outlook for outgoing mail. Outgoing mail
with MS Outlook works fine.
I have a database with two fields: product and photo. The page should display pictures of the product, which are on the photo field and if there is no picture (in this case there is no registers in the database) I need to display a message like "hey dude, no pics right now". Code:
View Replies View Relatedi'm developing a site but i'm still new to ASP..i could only
code a simple DB [add/edit/remove] coding..
i need to creat accounts for users, so i must have a LOGIN page
contains all the standard such as: Logout, register new user,remember password ,,
users who should register in my site , are previously stored in DB by a KEY field..not to allow any user to register..a new user should only insert that key,if it is exist in my record,i shall allow him to view some pages.
I want an automatic email to send to a user when they register, the first page looks like this, i took away all the table information and what have you ....
View Replies View RelatedI am having trouble trying to detect if no records are retrieved by the search. There doesn't seem to be a problem with the connection to the database or the SQL query. I think the problem is somewhere in my If statement. Code:
View Replies View RelatedI 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?
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 RelatedDoes anyone know how to hide and show a link depending on the level of the user. Like I want the link to show if the person loging in is an admin, but if the person is a user than I dont want the link to show?
View Replies View RelatedHow to get a link / url in a var ? This is what I need to do :
newmsg = " <a href="http://www.my-url"?pa=<%=userid%>> Click here </a> "
Clicking url that points to an exe pops up Open/Save dialog box. But I want
only the Open option to be enabled
How display a link like a plain text (not underlined) with css code.
View Replies View RelatedHaving a problem getting my asp url to work. Im trying to pass a var and some of them have the & in them. This is breaking my url since it looks for another var with the &. If i put the %26 instead of the & manually it works fine. How do I get that to encode that on the link ?
I know the problem is the data that is in the heading field has & in them. I can not fix that part. Is there a way to force the & in the url to go to %26 ? Code:
I would like to build a dynamic link based upon a value returned from a db
There is data in the db because objRS("Description") returns a value.
something like
Code:
if objRS.EOF then
%>
<a href="/somepage.asp?id="<% objRS("Id") %> "><%response.write(objRS("Description"))%></a>
<%
else
end if
I get
http://localhost/somepage.asp?id=
Nothing else at the end.
What am i doing wrong?
To secure files on a site with authentication we have put the
attachments in a folder outside the IIS web site like this:
D:Documents<ItemID>filename.doc
where ItemID is a number which we use to check permissions inside our
application.
In order to download the file from the site we have made a binary
reader component (we could probably use SAFileUp or something instead,
but this works) to send the file through an ASP-file:
http://mysite/Docs/ShowDoc.asp?ID=<ItemID>
This works well.
So to my problem:
If I right click the link to save the file on my local computer (Save
target as), it will save the file properly, but the filename in the
Save As-dialog is ShowDoc.asp. I want it to be filename.doc instead.
Is it possible?
I've heard that on a Apache web server you can write the link like
this:
http://mysite/something/filename.doc?ID=<ItemID>
but then the server knows that it's
http://mysite/Docs/ShowDoc.asp?ID=<ItemID> it should load. If this is
possible in IIS, the Save As-problem will be solved.
I am using this code
<table border="1">
<%
Do While Not rstSimple.EOF
%>
<tr>
<td><%= rstSimple.Fields("username").Value %></td>
<td><%= rstSimple.Fields("password").Value %></td>
<td><%= rstSimple.Fields("email").Value %></td>
</tr>
<%
rstSimple.MoveNext
Loop
%>
</table>
How can I make the email field a hyper link?
I have the following link:
<A HREF=""Schedule.asp?JobNumber=" & RS("JobNumber") & "&PONumber=" &
RS("PONumber") & """>" & RS("JobNumber") ONCLICK= popup() & "</a>
I want the link to reference a function in the <Script> tag as
follows:
<script>
function popup() {
window.open( "Schedule.asp" , ""
,"top=40,left=40,width=200,height=100" ) ;
}
</script>
I am not sure where to place the ONCLICK code in the hyperlink as this
link is written out via response.write......Its all the " " & ' ' that
get me ...
I have a database of literature and I've created a search page that pulls up the records matching the search criteria. However, I'd like to create a link to the article in pdf format, if it exists. I have a field in the database that contains the file name (and path), but not all records have a corresponding pdf file.
Code:
<td><a href="<%=(rs.Fields.Item("Article").Value)%>"><%=(rs.Fields.Item("Title").Value)%></a></td>
How do I check whether there is a corresponding pdf file before displaying the title with a link?
I would like to have a link that when clicked, sends info to an ASP page to process, but does not submit the entire page. This way, the user will
click on a link and will not be taken to another page, but precessing will occur.
This is mainly for a 'Rating' Application.
Amazon.com does this and I want to know how they do it. Here is the link to the amazon page (you may need to be logged in)
http://www.amazon.com/exec/obidos/t...5480771-6490552.
(1)I posted this in general but didnt get anywhere. Then I recalled seeing something recently on the web on an ASP site but cannot recall where.
(2)I have a list of pdf files avaiable for the user to view. When they click the pdf link, the pdf file opens. How can I make the link be a 'save' link? ie, when they click the link, windows treats it as a file to 'save as' etc...
What I vaguely recall on the ASP site was: 'How to hide the path of a download file by using an ASP redirect page'. I was wondering if anyone knows this method, and if they do, would it solve my problem in (2)
I would like to put a picture on may page and I would like to use this picture as a button to execute an sql query, so when you clik on the picture you will hace displayed in the next page the product in the data base and other info like price for example.
I have this code to access the data base but I do not know how to use a picture s a buton to use it. Code:
anyone in here got an idea on how i could transfer a value of a form text to another asp page just by using <a href="">
View Replies View RelatedMy hidden field is
Code:
<input type=hidden name="action" value="login">
<input type=hidden name="ret_page" value="<% =request("ret_page") %>">
and my link is
<A href='register.asp?ret_page=<% =request("ret_page") %>
But the ret_page appears as /vfolder/Content.asp?ContentID=700.
How would I get rid of the /vfolder/ and just have the content.asp?contentID=700 alone.
I am trying to create a link that takes a record ID and opens up a PDF file that is associated with the record ID in the database. The following code works
Response.Write "<a href=""file.asp?ID=" & rs("ID") & """>"
Response.Write rs("File Name") & "</a></td><td>"
I'm trying to rework this code to work a little more easier with Dreamweaver. I would like it to look a little more like this:
"<a href=""file.asp?ID=" & <%=(rsNews.Fields.Item("ID").Value)%> & """>" <%=(rsNews.Fields.Item("File Name").Value) & %>" </a>
I'm receiving a syntax error when I try and run it.
one of my downloadable programs is redundant but there are still a bunch of
links out there that point to the .exe directly ...
how do I redirect the browser to another url when someone requests the .exe
file?