META REFRESH
Can someone explain to me why the META Refresh doesn't work in an ASP.NET page? It works just fine in my old asp one! Content value has to be in quotes if not otherwise I get a warning. Code:
View RepliesCan someone explain to me why the META Refresh doesn't work in an ASP.NET page? It works just fine in my old asp one! Content value has to be in quotes if not otherwise I get a warning. Code:
View Repliesthis is an interesting problem i've been trying to solve past week. I have a framed site and one of the frames is refreshing through meta tag refresh every second. The page that is refreshing looks pretty much like this:
Database: Access, IIS6 - Windows 2003 Server
1. Declare connection object
2. Declare recordset object
3. open connection
4. open recordset with sql query
5. Check database for changes (on change, refresh another frame)
6. Close recordset
7. Close connection
8. Destroy Recordset
9. Destroy Connection
That's all. After about 6 hours in operation (constant refreshing) the WWW Service just dies. Restart of the service makes it stuck ever more, the only solution is to completely reboot the server.
Any insight would be greatly appreciated. I'm at a point of sticking the connection and recordset into session so it does not declare and kill it every second..
I am trying to debug a problem with some ASP pages when accessed via IIS on
Windows 2003 Server SP1.
In summary, the pages are structured as follows:
Root page
Page loaded via IMG SRC
Root Page extract Code:
there is one menu called "Products" click on that menu,
on the "immediate & speciality chemicals" , type name and email address, and then press submit. it will call inquiry1.asp
which will process the data entered, and call productlist.asp
which is not getting displayed, dont know why,
it does get showed in the local machine, but not on the web.
Where in an asp file do the meta name="description" content="description"
and meta name="keywords" content="key words " go?
Is it similar to where they're located in html? the top of my file looks like this (below), is it correct?
<% Response.Buffer = True %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0.11 Transitional//EN">
<html><head>
<title>testPage</title>
<script src="java.js" type="text/javascript"></script>
<meta name="description" content="description" >
<meta name="keywords" content="key words " >
<link rel="STYLESHEET" type="text/css" href="styles.css">
<style type="text/css">
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?
i wanted to store chinese character in my DB. I have set the datatype to nchar.
When i try copy a chinese character and paste it directly into the table. The table will stored the value.
But when i display the value in IE, even with meta set to UTF-8. I can only see "????" but not the chinese character. Can anyone tell me where went wrong?
I also discover that when i try perform INSERT in EM, trying to insert the chinese character into DB instead of pasting it directly to the table... But it failed. Table will only show "????". Any advice?
I'm trying to redirect the page while trying to pass some values to the next
asp page. I'm not getting any values when I do this. Is this possible?
I'm using the code below to redirect
<META HTTP-EQUIV="Refresh" CONTENT="5; URL=supportservicelist.asp">
but when I look at the value of my variable PEN, there is nothing there.
Yet I see on the current page the value is set
response.write "<input type='hidden' name='pen' value ='" & lpen & "'>"
Is there anything to be gained by putting META tags on multiple pages within my site? I've got my META stuff (title, description, keywords) on two pages, index.asp and home.asp. Ideally, I'd like my visitors to start at either of those two pages.
Would my site be more apt to appear in search engine if I repeated the same collection of META information (or a subset thereof, more specific to the page it's on) on
other pages within my site?
When creating ASP Page in VS, I see few lines of meta tags, like Code_Language, vs_defaultClientScript. What do they mean? Where can I get a list of all tags that are relevant for ASP.
View Replies View RelatedOther than Meta data and keywords how is it best to get near the top of search engines?
View Replies View RelatedI want to my site be searchable by Internet search engines such as: Google, Altavista, Yahoo, Lycos...
Because that, I've putted four META tags: author, robots, keywords and description into my .asp page...
However, my searching by keywords I've putted in doesn't work... In other words, I've got nothing which in connection with my site... Would you be so kind to advise me how to do that and what's wrong with my approach... My META tags section is Code:
Does anyone know how (using ASP & VBScript) how to extract the description from a webpage. I mean the meta description contained in the HTML (eg <meta name="description" content="description of website">).
View Replies View RelatedIs there a special way that I can write in keywords from the dynamic query parameters into the Meta Title, Description and content of the page?
View Replies View RelatedI have a page where a user can edit the meta tags for the page which are
then written dynamically at the time of the page being redendered.
I was wondering today whether this actually works or not? ie, if a search
engine (google or whatever) is trawling a site, does it only read html
pages? What happens when it encounters an .asp? Surely it wouldn't execute
it and therefore be able to read the meta data correctly?
Any info on this would be appreciated, if my current way of doing it is not
appropriate I will need to invest some time into changing it.
I would like one of my clients to dynamically insert meta/title tags into their ASP driven site. Caveat, I am no webmaster, but rather a more ecommerce oriented consultant. I know this can be easily accomplished. But, their webmaster claims it isn't possible.
View Replies View RelatedIs it possible to extract meta data (resolution, copyright, aspect ratio etc)from an mp4 file onto a web page? If so, how?
View Replies View Relatedhow to add code Meta Tittle Tags into different pages of the website? I have already inserted code Meta Tittle Tag into my website but it appears in all of my web pages. I want to add more specific information into each of website page tag tittle but i dont know how to do? My website is written on ASP.
View Replies View RelatedI use ASP.net 2.0 C# for my shop-system. I want to programm dynamic meta-tags.
In some books I find as memer of HtmlHead statements like
Page.Header.Metadata.Add("description", "my product");
If I try this, i got the error message: Metadaten not member of HtmlHead
Want do I wrong?
how to get some meta info on a number of files, such as author and owner. it is for a .asp web page wich indexes a list of files and shows info about those files (name, type, date last modified, etc)
so that who accesses the page can sort those files by the detail they wish, and i can't discover how to get the author and owner info about those files.
how I can dynamically change metakeywords based on page content? That is, a page on restaurants should have restaurant related keywords, etc.
View Replies View Related1. how to determine the 'progid' parameter in the /oject tag for both session and application tags, eg,
<object runat="server" scope="application" id="web1" progid="web1"></object>
2. i want to invoke the meta data for ado in my global.asa, so it will there
for all the sessions:
<!--METADATA TYPE="TypeLib" NAME="Microsoft ActiveX Data Objects 2.1
Library" UUID="{00000201-0000-0010-8000-00AA006D2EA4}" VERSION="2.5"-->
is this then coded within the application 'object' tags, see 1, or is it coded in the application_onstart subroutine?
I have a situation that I am not sure how to solve. I am working on an ASP site that needs to have unique Meta tags for the appropriate page. This would be populated depending on the department selected I need the Meta tags to populate the page. I first thought about creating an application that loads a meta tag file that is called by the department ID or Title.
View Replies View RelatedI am adding meta tags to my .aspx in my C# Codebehind.
Questions:
(1) How can I add a carriage-return, line-feed after each control?
(2) How do I verify my .aspx?
The </meta> is added. I am new to .aspx.
So, I added </meta> to one of my .html files and
ran it through validator.w3.org and got this error:
end tag for element "META" which is not open
In my .html, I use the line:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
(2a) Is there a validator for .aspx? Code:
How can I refresh one webpage from another?
View Replies View RelatedHow can I get an ASP page to automatically refresh on load.
View Replies View RelatedWhy do I need to close and open my browser to see the changes made to the code(javascript)?? How can make the page refresh without closing the browser.
View Replies View RelatedI have this asp page called create project . In this page, there will be a list of clients (pulled from db) for the user to select.
User could also click on the create client button to open up a seperate page/window to create a new client. After they have created the client, the page will be closed. How do I tell my create project page that a new client has been created and so, refresh the page? Do I really need to set my Create project page to refresh every second?
I have a asp page where i display all the records i create a hyperlink with that records and when any one click on that link a popup window will appear where user enter the new data and click on update button then i update the fields and the popup window will close but my problem is that when i click on update button i also want to refresh the parent(previous) page please tell me how can i refresh that page ....
View Replies View RelatedMy page uses code like this to redirect to other pages for the purpose of allowing errors and confirmatory statements to be seen by Administrators and Users alike.
Response.Write("<meta http-equiv=""Refresh"" content=""4; URL=AdminSelectAction.asp"">")
The problem is that this does not allow the refresh button to be pressed because it does not change the address in the address bar in Internet Explorer. Response.Redirect does change the address. Is there a way to make a pause before changing the page that WILL change the address in the bar?
On my form,the user puts in ref no,and clicks submit. a new window gets opened. but when I click on refresh on the browser. the same action takes place(new window opens). whats going on. i dont want this to happen. the page should reload.
View Replies View Relatedim trying to create one page. which let user to fill in data... then when click on submit button. it pop up one "small windows", which content are:"Thank you for fill in...". den when the user close da window. the parent window can refresh itself automatically.
how to write the codes of once close da "small window", the parent window itself can refresh?