I have a logon field including user name and password, which is stored to an access DB. Many websites have a logon and password field integrated into the page. I want the field to always be there.
When successfully logged on, the user will have access to other pages that I designate.
I have a complete web page and I want to stick the code from the working logon field, etc in the page w/o redesigning it around the existing logon.asp page.
I am asking if this is something I can do with the skills that I currently possess? Remember, I'm a novice .asp programmer, but an experienced web designed. We're working on the "dynamic" in web page design.
I have a logon field including user name and password, which is stored to an access DB. Many websites have a logon and password field integrated into the page.
I have a complete web page and I want to stick the code from the working logon field, etc in the page w/o redesigning it around the existing logon.asp page.
I am asking if this is something I can do with the skills that I currently possess? Remember, I'm a novice .asp programmer, but an experienced web designed. We're working on the "dynamic" in web page design.
I want to know when we embed javascript or vbscript in asp pages where the script runs whether on client's browser or web server? also is there any possibilities like in asp.net we have "runat" wherein we can specify sever or client option available when we are programing in asp.
my problem is that i want to convert my web pages into Arabic. and for this I have already install Arabic font in my pc but the problem is that once i select that specific Arabic font the text is still written in English . Can u please suggest me some embedded Arabic fonts which are when selected will write Arabic rather than English.
My readers that are lotus note user receive the mails I send using cdonts with image displayed as attachement in place of inline.
I read http://www-1.ibm.com/support/docvie...uid=swg27002572 that say "for displaying image inline in lotus you must set correct mime header as content disposition : inline"
however I can't achieve it with cdonts : my mime header is stuck to "content disposition : attachemnt" and I can't see how to change it.
I read somewhere that using attachurl instead of attachfile will fix it but my test did not achieve this way.Any of you experienced sending inline image to lotus note users with cdonts ?
I have a checkbox in a form and i want it to create a session if clicked. If it is not checked the session is deleted. I have tried the code below but it always creates the session even if the check box isnt clicked.
I have embedded a flash movie (.swf) in my web page - but I don't know how to put the "play,pause,stop,volume" controls to the video.I need the movie to share with my colleagues at work using our local web server.
I want to send email in html format with containing more images added dynamically using cdo.message method. can you pls explain any body one how to do this. i alredy done this, but it send only one picture with that email. here i posted my code also. pls any one tell me what is the problem in this code.
html = "<html>" html = html & "<head>" html = html & "<meta http-equiv=""Content-Type""" html = html & "content=""text/html; charset=iso-8859-1"">" html = html & "</head>" html = html & "<body>" html = html & "<p><font face=""Arial"" ><b>Name: " & name & "</b></font></p>" html = html & "<p><font face=""Arial""><b>Company Name: " & cname & "</b></font></p>" html = html & "<p><font face=""Arial""><b>Country: " & ctry & "</b></font></p>" html = html & "<p><font face=""Arial""><b>E-mail: " & email & "</b></font></p>" html = html & "<p><font face=""Arial""><b>Details: " & remarks & "</b></font></p>" html = html & "<p> </p>"
for i = 0 to ubound(iid) html = html & "<img border=""0"" src=""" & "http://www.abcd.com/img/" & fnme(i) & """></td>" next
html = html & "</body>" html = html & "</html>"
mail.From= emailFrom mail.Configuration=cdoConfig mail.To = emailTo mail.Subject = emailSubject mail.HTMLBody = html mail.Send set mail = nothing set cdoConfig = nothing
Then B.ASP contains the code: [...] <%Response.ContentType = "image/png"%> [...] <%Response.BinaryWrite BinaryObject%> [...]
When Word opens and the document is saved, it references the images as links. I need to have these images be embedded as the file will need to be emailed outside of the network.
I can go in and manually break the links and save them as embedded files, but this process needs to be automated as users will not know how to do this.
Is there a way to force these images to be embedded instead of referenced as links when the Word doc is intially created?
I've had a look and found a few items on searching a database but I need something a bit more complicated.
I want to store documents in a database, I also want to have a web page view and pdf download of the documents available (easy enough if I just embed the URL of the locations). The problem is I want to also be able to provide a search page that allows the user to search the documents and the database (for authors, date etc) using the same page.
So the question is what's the best way to start with the database and pdf docs and end up with a web view and search engine for it. The database is Access btw.
I have been using the CDONTS.Newmail object for a number of years to send nicely formatted HTML Emails with inline images.
I am now trying to switch over to using CDO and I cannot reproduce this functionality. I am using the AddAttachment method instead of the old AttachURL method but the attached images just show as separately attached files rather than in line in the HTML.
According to MSDN:
"If you populate the HTMLBody property before calling the AddAttachment method, any inline images are displayed as part of the message."
Well, I am doing that but it is not working. The images show up as if I had attached them using the old AttachFile method.
I require a utility in ASP which has to logon to another site, with my username and password and grab the content of thet page any restriction will be there in the server preventing these type of access. how to authenticate ? will it work in the secure sites?
I'm using Basic Authentication for my web site - not great I know but I'm having to support devices like the Nokia 9210i which dosn't seem to like the digest information for windows domain servers.
The question is that I would like to be able to somehow capture that logon username/id so that I can use it within the web site to track changes made by the user.
I've thought about switching off authentication all together and writing my own logon asp page (query to an SQL database or something and then store the result in a session variable), but if I can somehow capture and access the basic authentication information, it would save me some work.
I have a working basic login script that processes an Access database to see if the username and password is correct then logs in if so and passes through to a members area. However, what stops anyone from just downloading the database and opening it (altho the database can be passworded admittedly).Is there a way to make the database more secure, or to allow login from a more secure system?
I'm using an online app made with asp which authenticates login with a MS Access Database and then redirects the user to a URL corresponding to the entry for the logon credentials in the database.
The url has anonymous browsing disabled, thus I need to pass a username and password to the iis server when the user is redirected to this site.
This process must be automatic and not visible to the client logging on.
Can this login info be passed to the iis server via ASP code, and if so can you help me with necessary code snippets ?
I am setting up an intranet application and would like to get access to the users windows network log on user name. I have turned on "windows authentication" for the application. I was hoping to find it with the server variables, however the LOGON, AUTH and REMOTE users were blank.
I then created a WindowsIdentity object, the name I found there was MAC-WEBASPNET which is a generic user account name. What am I missing here?
We are currently moving our site, while doing this we are now going to make people logon to our site (if your name is not in our IIS you can not get in), while doing that we are having another company keep our files on thier site (they maintain our files .)
The company is letting us copy thier logon code and paste it into one of our frames for our site so that it just looks part of our site. Is there a way that when they log on to our site that thier user names and passwords (same as our sites) for the other company will automaticlly go into the user name and password. Code:
i am developing an intranet area where my boss says he wants the logon to be related to the local accounts,if no local account exist then they will be refused access, i am a little lost with this.
I am looking into creating a intranet at work which will do a number of things including forums etc but one thing that i would like to do i dont know if it is possible or not.
When a user signs into their workstation it will launch the intranet, no problem, then i want it to log them in as the user id they logged into the workstation as. Is there any way of getting this information???
Is it possible to logon to the SMTP server that comes with IIS from a machine other than the actual server. Ideally I would want to put some VB Script in an SQL Server Job Schedule or an ASP page that uses CDONTS and use it to pull the emails into the database. The SQL Server is on another machine on the network. Is this viable.
i having a problem on open crystal report version 8.5 or 9, when my ASP program call the report using VBSCRIPT coding?, can i have source code to call the crystal report logon ?
I am inserting data into Access when user logs on: .............. SQL = "INSERT INTO tblLog (fldUserName,fldTimeIn,fldSID) VALUES ('" & u & "',#" & session("Date") & "#,'" & session.SessionID & "')" con.Execute(SQL) ..................... in here it inserts the date :01/09/2003
But when logging out : ............. SQL="UPDATE tblLog SET fldOffline=1,fldProper=1 WHERE fldUserName= '" & session("admin") & "' AND fldTimeIn=#" & session("date") & "# AND fldOffline=0" con.execute(SQL) ............... it doesn't update the record.If I eliminate the date query here,it updates there is no syntax error is there?
What I want to do is pass a Field value directly from the URL to the webpage content, but it's getting stuck and sometimes no values get passed? For eg:
Suppose my site is www.mysite.com/member.asp?id=25
I want the 25 to be placed somewhere on the member.asp page when the above url is hit.
I have tried <% =id %> I have also tried <% =Request.Form("id") %>
Im using Oracle 9i backend with a dreamweaver asp front end, what im doing is using a recordset to determine the data from the database that is required. Although what im currently trying to do is us a field on the web page which determines the parameters of the sql search. This is the sql code i have in place at the moment
SELECT PHOTO_ID, ORDERID FROM ISPHOTO WHERE PHOTO_ID = !!this is where i want the field from the web page to be.
the textfield name is Order_ID is this possible and if so how.
I need to get the current logon (to AD) user name on ASP level. Is there any ActiveX (ocx,dll) object in windows directory, which I can use? I used the nwdir.dll file to get this name from novell directory with ndap....
I have an asp page that displays informaton from an Access database. I want to create a form that allows users to display only data that matches their search criteria.
I have made many forms like this in Front Page with the Database results wizard, but I want to manually code it. Code:
I am using a Relational database for my site and i have the following tables:
FIXTURES, GAMEDATES
the fields in FIXTURES are:
GameDate Home Away
(All of the above are numerical fields)
the fields in GAMEDATES are:
DateID(integer) GameDate(#Date Field#)
What i have done is in the GAMEDATE field in the FIXTURES table i have used the ID number of the date that i wish to assign to that record - using a LEFT JOIN to display the actual date that is pulled from the GAMEDATES table (That which corresponds to the relevant id used in Fixtures)
The problem is that in some of my code i want to display records using sql and sometimes in the where clause i use the following:
WHERE Fixtures.GameDate<=(Date())
obviously meaning WHERE GAMEDATE is LESS THAN or EQUAL to TODAY.
The thing is when i use the join it does not use the where clause and displays all of the records in the FIXTURES table.
Does any one know how to get around this, i have not received any error messages it just isnt displaying the right data
Im comparing values in a field while doing a loop if sAct<>myData(5,i) then At the end of the loop I make the value of sAct equal the current myData
This will work when comparing other fields withing my recordset (so I know the statement works) but it will not work for the field I want to compare. The only difference with this field is that it has null values. Could this be the problem? if so, how do I deal with nulls?
I have a input form with 5 fields. One of the fields is MajorNo and the other is named Description.
I have a reference table in my MS Access database (tblMajor)that lists the major numbers and their descriptions.
I would like to have the description field in my ASP automatically filled based on the major number entered on the form, so the user will only need to input the major number when submitting to the Access table (tblSalesTotal).