after reading the article on No-refesh links i was wondering if i could link to an asp page that will simply open a new window without changing the original window. i was wondering if there was a way using
<% Response.Status = "204 No Content" %>
and some script or something?
I have a page with 2 frames. The first one has a link that loads a page in the second frame. This page has a button on it. When the button is hit, the page does some processing and loads another page in the same frame (the second).
I use ASP and response.redirect or javascript in the onclick event of the button to do the redirection. When I refresh the page by clicking the button on the browser (IE), the second frame becomes empty. Please note that the src attribute of the frame is not set.
If I set the src attribute of the second frame to some asp page and then navigate to another page inside the same frame, when I refresh the page, the initial asp page is loaded in the frame regardless of the asp page currently loaded into the frame.
It seems that when you refresh the page, the frames are reinitialized no matter what pages are currently loaded in the frames.
I solved the problem by redirecting to the main page in the top frame, passing some parameters and resetting the src of the frame to the desired asp page. Thus, when the page is refreshed, all the frames are properly refreshed too.
I have an ASP site that uses frames two frames. (yes I should be using include files, but we started ou using frames so we have been stuck with frames.)
When I get a page expired warning (I am not caching pages) and a user clicks refresh from the menu bar the user is taken back to the home page! The home page is a frame with a top frame that is repeated on each subsequent asp pages
The lower half of the home page is a login screen.
After login the next page is shown in the lower half of the frame. Refreshing within the individual frames is ok.
But when the Refresh from the menu bar is used the home page is returned any ideas why?
Im new to ASP, and have hit a snag.I am trying to build a page that has 'A-B-C-D...' links along the top of the page. When you click 'A', it goes to a table with everyones usernames and grabs the ones that start with the letter A. The problem is that the username field contains the names of people who wrote an article, so in some cases there are actually two names in this field. So for example, if it contained 'Bob, Jack', I would need 'Bob' to show up under B, and 'Jack' under J. Im totally stuck as to how I might do this. Changing the layout of my tables is no trouble if a different table setup helps
I am creating a spot where people can redownload items if they have access. I have everything written but the part where people actually get to the page due to a huge issue. So far there are 96 uniquie combinations of the 8 items they can download.
Here is the flow of my system.
Person creates a login, and in that login there is a spot to put in a specific code for the items they need to have access to. After that they are sent an email regarding login location and login info.
The login site has all of the verfication to login, but i am stuck at how to get the users to the actual page to download due to the 94+ combos of items, (and that number is only going to grow). Am i just screwed and this is impossible without taking a HEAVY hit to the server or do i need to find a program that does this?
How do you create the links similar to the links on the forum Viewing: ASP Free Forums > Programming > ASP Development > Post New Thread .If there is examples on the net please let me know.
I'm trying to make my URLs in ASP more search friendly, is there a way to do that? I'm using ASP.NET. Right now, I have an XSL file which is calling XML in my ASP files that builds the links. All content is generated from an XML file, so there is no database Here's a link example: .....
i have a search engine which contains all of the links in an access db.
basically what i am wanting to know is:
is there some code i can make to query all the results for a matching word such as "elephant" all the results (url) in the database would be opened and checked, Any broken links would be removed.
does any one know how to do this. what i was thinking of doing was creating some code to open all the pages that match a search....say 50 open
i could then click through them closing them individually to check all urls rather than doing it manually
A friend has told me that links that worked fine in IE 6 on a PC are now not working in IE 7. The only thing they can see is that these links have the following common traits: a) long file names, ie about 30 plus chars b) underscores in the filenames. c) They are derived from the old asp routine to force a pdf download rather than open them up in the browser window. I'm desperately trying to borrow a PC to install IE 7 (I don't want to affect my own PC in anyway at the moment) to test this
I got the below code from somewhere ages ago. I have a list of links on my site that link to other sites but I want to check if the link is a valid link automatically and if it fails after x checks (checks every 7 days) then to mark the link as a possible broken link
the below seems to take ages to process and was wondering if there is a better way to do the below. Code:
i am having a textarea in which the website links r entered by the user separated by a comma(,). and the same i am storing in the database field with type memo. now i want to retrieve the entered links and display all the links separated so when the user clicks on a particular link the page for that page opens us.
does anyone know how to request the static links off a page using XML and asp? I would really appreciate any help you can give me on the subject. I need full links including the http:// and everything.
I wish to hide links, i'm at present trying to 'float' as such invisible links over a background image.... the line i'm wishin to use that i think is right is
#links a i {visibility: hidden;}
when taken out we can see the links, as needed, but the minute i add this line, they should be invisible but still there, this is the case in IE but with FF they disappear completely...
I have a search box called r_name on the results page is requesting it but if a person searched for a pub name then i'd like to page by pub name if a person typed in a town then i'd like to page by rsTown and if a person typed in a postcode i'd like to page by postycode something like: Code: IF r_name = rsTown THEN Response.Write(" <a href=""search_results1.asp?<%rs="rsTown"%>& r_name & "&pageno=" & paging & """class=""textareatext"">" & paging+1 & "</a> ") END IF
the above bit of code is incorrect?! or Code: IF r_name = rsPubName THEN Response.Write(" <a href=""search_results1.asp?rsPubname=" & r_name & "&pageno=" & paging & """class=""textareatext"">" & paging+1 & "</a> ")
Is there an ASP command that can I use to make every occurance of a certain word into a link? For example, if I have an article about marketing, and I want every occurance of the word "marketing" to link to a page called marketing.htm, how would I do this using ASP
I have a site where an affiliate program has been wreaking some havoc with their affiliate links, and has now been cancelled.
The site is hosted on windows and the files are .asp files.I need to be able to redirect the affiliate IDs to something safer, such as domain.com/ instead of domain.com/aff.php?id=1
I have a db that users search to return records. However, I want them to see only 10 per page and then, a NEXT 10 link that will display the next 10 results.I have tried using LIMIT , but it only returns the specified number but no links or way for users to view them or the remaining the search results.
The search results is getting lengthy and users are beining to scroll, whine and complain.I am using Asp, MS SQL 7 on WINNT.
I have created a header file that has some hyperlinks, I want to enable the hyperlinks depending on the situation for eg: the header has link1, link2, link3 and they correspond to page1, page2, page3. suppose I am on page1, I want to disable link1.... and so on.
i have a small question for all that know asp, below i have a sample of code that ive noticed that is linked with other characters after the file type ".asp" what is this used for, and why?
if j = true then response.redirect "Default.asp?r=a1" end if
how can i locate the file it is refering too or is it simply the standard "Default.asp" page and the characters after simply refer to part of the code located within. but still why is it used ?
Below you can find quick links to information about the Application Object. I would write a post like my CDONTS one, but I just don't have time, but when I do, I'll see if I can get one done.
An intro to the Application object, this its in JScript but its easy to change Using the Application Object to Improve Performance
HOW TO: Declare an Array at Application Level Scope in Active Server Pages (Q165293)
A Real-World Example of Caching Data in the Application Object W3 Schools Application Reference
HOW TO: Use the Application Object to Store ASP State
I am trying to crawl my site to get a list of links. I am using the regular expressions to get the href tags from the pages and reading the links using xmlhttp module. is there an efficient way to loop through the links? If you start with the home page, how do you do it? How do yo ukeep track of the pages you have been to and which to do next. I am not sure how to go about tihs. I tried some loop but it seemed to take too long to crawl my site.
I am designing a Web site with about 500 - 600 pages of festivals on it and would like opinions on two ASP subjects. I have designed about 20 pages or so as of now. These are the contact us, FAQ, about us pages and such. I also have a template to go by for each festival's page. But I have two problems I need fixed before I start to replicate.
(1) SSI and styles - There are four sections to each page. I use SSI (ASP virtual version) for the top, bottom and a small section of featured festivals (which is above the bottom) on each page. Between the top and featured festivals is the actual page. This way I can change a link on the top or bottom and it is fixed on all pages.
But, I have an enormous amount of styles listed (all styles on four pages) in the code from each page's fonts. Each page's styles are called something different. For example, the festival page itself has the styles as normal, ".style1." But the styles on the top the links, which once again is an ASP include, would be called ".style1top." I used that approach because .style1 on the festival page and top links could be different.
It works, but I have dirty code and I want the site to be as Google friendly as possible. I have thought about adding all the styles to a page and using it as an ASP include on all pages, but that would have way too many styles each page and be even dirtier. What is the best practice for this? Code:
Ive been searching the net now for about a week for someway to extract all of the links and images out of source code. I want to make a search engine. I can get the HTML of an entered URL, but now I need to EXTRACT all of the links e.g href, src and I want to place them into an access database.
My Asp database generated pages' content links all open a new window containing the same page by default; this is strange since the default behavior for anchor links is to open in the same window; I can and have corrected this with target="_self" but I have additional anchor links that call JavaScript to submit a form and these aren't stopped from opening the new window by the "_self" value.
Interestingly, once the new window is open with the original page within, the links all work as expected in that window(!?!); is there a window or DOM value I need to instantiate so the generated windows will "recognize"themselves?