I'm using W2k Pro, ASP 3, IIS 5 & DWMX 6.1 and code in VBSCRIPT
I currently use the <BASE href=XXXX> in all my pages and just read
that this tag is no longer supported so will soon vanish
I have a couple of sites that I'm working on and to make all my links
work right etc I need to use the base href tag
all my links are like <img src=images/mylogo.gif> or <a
src=info/info.asp>Info</a>
Now my problem is how else would I design my sites if I cant use the
Base href tag so the site would work both on LOCAL & REMOTE servers as
needed in the above paths?I'm sure other people develop on a WIN 2k PRO system where you canonly have ONE site (c:inetputwwwrooot) Which was fine when I only
had one site... but when I needed a second I had to change my first to
use the Base href so I could check the sites out locally (offline)
before uploading them to a live server.
I'm trying to build an application in ASP and using multiple database, but I've receiving some problem, have any idea or have any sample scripts to use multiple database?
Do I create and name all pages with .asp or still in .html. when creating a drop down menu, assuming all the tags are in place, how do i test the site on the server?
so do i create the html pages first or the data base first or does it matter? where is the data base created in notepad or excel?
I have been using php for a while now but have recently had to start using asp. I have purchased some hosting from webfusion.co.uk but have been having trouble connecting to the sql server, could someone possible help me here as I don't know what is the correct code to use to start with let alone know where I have gone wrong.
This error occured with me when i want to open my access database:
---------------------------------- Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x888 Thread 0x1288 DBC 0x2e8f014 Jet'.
/AAA/Afghanistan.asp, line 374 ----------------------------------
i wanted to get the 411 on this article. I want to create a small utility web site with a logon page and a form connected to an Access database. The article below explains exactly how but when I try this I can only see the code no actual logon page - nothing but code.
My system is asp allowed and asp.net extensions allowed. FP 2002 extensions allowed. All other extensions are prohibited. I am using w2k3 IIS 6.0 and running 3 html sites succesfully all with working forms. Is there something on the server/website itself I need to enable?Why do I only see code and not a logon page as described in the article?
I have a few check boxs on a page. What I want to do is if a box is checks a value of Y is stored in the database. Could you please show me how to do this?
Have you ever been on ebay-You know when you are checking a persons feedback history, you see a href link to go and see that particular item.
I would like to do the same. If i have a table which i populate with information, if the user clicks on view, i would like to go and show that particular item on another page. Ebay has one unique key (item number), unfortunatley i have a composite key.
How can i do this by adding a href in an asp table and also by having the ability to go directly to the full information about that specific item?
I have done something similar in vb but i used a mshflexgrid but i don't think thats a possibility in asp.
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.
Is it possible to use If Then statements in an a href tag? What I am trying to do is I am using a server side include page of navigation inside of a content management system. I have limitations on what I can manipulate and change. So just using style sheets won't do me the trick. I want to have a navigation link change a different color when you are on that section. I have the menu expanding also using if then statements. When a variable is passed somewhere else on the page as true, the menu expands. I figured I could use this in the same way to make the link change colors. I want to do something like:
<A href="#" <% If Variable_name then%> id="link <% end if %>>Link Here </a>
Is that possible? I know that i can do an If then statement and have 2 different links, one with the id and one without, but I wanted to see if I could simplify it at all. I'm not the best with ASP so there might even be better ways then that...I was just using from the little that I knew.
Basically what i want to happen is that when a user clicks on the web link that it opens the meeting room which is in a public folder in outlook application (not the web interface outlook.
I am new to web design and ASP, I am developing a site which has a logon script, what I want to do is return a user to the location they were at after login. Some of the pages will have query-string information in the address bar so need capture that as well.
<script language="JavaScript"> x = window.location.href document.cookie=x </script>
Appears to do what I want as I can pick up the href out of the cookie after login and return user to page, prob is I don't seem to be able to include it in my server side scripting which is doing the login it falls over at the script tag.....
I am using Javascript with ASP and am having a problem with a javascript link in that it does not function when clicked. The page is generated correctly without any visible or runtime errors.
A bit of background as to what I'm trying to achieve: i am dynamically creating multiple forms which store details of a products into hidden fields, the information is retrieved from a database recordset. Each product is created in a unique form, this is achieved using a counter variable. I am trying to use javascript to submit the current form - i.e. a hyperlink - which unfortunately doesn't have any effect when clicked. I am thinking I might need to refer to the form differently but am unsure how to.
I have an asp page that is pulling data from a access database. The data will always be a complete email address. I am trying to make the email address on the page a simple hyperlink that opens the default email program upon click. I cannot make it work for the life of me!
I have a session variable who change the selected language (French or English) and i try to change this variable when someone click on my anchor. Code:
I am trying to get a printer.asp page linked back to a main report page. However, in the final url, the grantid is missing which should not be, if the href statement is correct.
I checked the correct value of grantid via response.write and I can see the correct value. However, the href statement cannot pick the value properly. Code:
I am currently setting a cookie that has a variable which is based on the user's bandwidth (High or Low is set by a javascript detection script). However, I'd like to also give the user the option of manually choosing their bandwidth variable (High or Low).
The problem I'm having is being able to change or write the dynamically set cookie to the user's manual preference.
instead of doing this which sets the cookie and redirects the user when the page loads....
I have a .asp page that displays an HTML page: view_msg.asp
There is a link (anchor tag) on that page that when clicked, sends the user to another page. I would like to also execute a MySQL query when that link is clicked. The DB is already open and connected to the page. The current current tag looks like this:
and the MySql command I want to send is: UPDATE Messages SET `fromDisplay`="N" WHERE idMessage=" & idMsg "
In english: When someone clicks on the link I want to execute a MySQL command to set the field value to N... how do I do that?
I know this is a very rookie question - but I don't know enough about asp to know how to execute the command here the way I want. Do I have to turn the image/button into a <FORM> 'submit' button</FORM> and use a redirect? Or, would I use an ONLCKICK. What would the correct syntax be?