Sitemap Page Creator Script
I was going to code something to make an index.htm page from an existing file structure. Before I started, I just wanted to ask if anyone had done this before. No sense in trying to reinvent the wheel, eh?Basically, i just want to create a simple index page with text links. Nothing fancy.
View Replies
ADVERTISEMENT
I need a simple function to generate and save a thumbnail from a picture. It would require:
Source Picture Fileame
Thumbnail Height and Width
Thumbnail Filename
There are many pay programs available but they do far more than I require and I want the code to be built in to my code, not operate as a separate program. Any ideas? The browser knows how to resize pictures easily enough, and that is free! Is there no way to capture this with ASP?
View Replies
View Related
I've done lots of sites in ASP and i'm still bored/tired of creating
Add/Edit/Delete form & processing pages for Product tables, Customer/User
tables, etc. I'm looking for a script/package that will make these types of
pages easily and automatcially given a table from my (access or otherwise)
database.
Is there a script/package out there in ASP which will create such
forms quickly and easily with very little work on my part? these would be
pages i'd put in the administration side of the sites i create to manipulate
the data.
View Replies
View Related
Im making an asp website for a rotary club what would be the best script to create a website something like a CMS without all the forums and stuff.
View Replies
View Related
The problem isn't that the below doesn't work, it does. The problem is our sitemap is too big and I need to break it up. My objective is to output the categories only and when user clicks on a categorie the resulting proucts display similar to a tree view.
Code: .....
View Replies
View Related
How can I create a totally random password generator? With letters and numbers etc.!
Also how can I EASILY create an ASP script that sends e-mails. I dont wan't to install ASPEMail because I am using a hosting solution (not my own server). Either Brinkster of another server I have. Any ideas for both the questions?!?!
View Replies
View Related
I would like to create a page where someone could select from say 12 different cards, Once they have clicked on the card it will take them to a page where they can input about 5 - 6 lines of text, select a font, font color and font size they would like to use.
Then they can hit a submit button that will take them to a confimation page showing them the card they have created. Once they view the card they can hit an aprove button which will then enter the information they have input into a database and also email the completed card to them as well as to myself so I can see what they created.
Does anyone have any idea where I could find a tutorial to help me do this? I am pretty sure I will have no problems with most of it. However, my concern is the font style, color and size selector, i have no clue how to go about creating something like that.
View Replies
View Related
I have all the text for all pages and sub pages in the database, also news, events you name it everything is dynamically driven.
Now I have come to the sitemap page, and thinking about how to go about displaying all of the pages.
Can anyone give me some ideas of a way in doing this. How would you approach this task. Obviously this needs to cater for new pages being added by the client when he or she decides to add them.
View Replies
View Related
I just logged onto Google sitemaps to check since I haven't logged on for a few weeks and I noticed a few new features.
One of these is a verification process and I tried to verify my site by following the instructions but I was then shown a message below...
"We've detected that your 404 (file not found) error page returns a status of 200 (OK) in the header."
I was then sent to this page (3rd paragraph from the bottom)
https://www.google.com/webmasters/si...ileconfigerror
It reads as follows:
------------------
We've detected that your 404 (file not found) error page returns a status of 200 (OK) in the header.
this configuration presents a security risk for site verification and therefore, we can't verify your site. If your web server is configured to return a status of 200 in the header of 404 pages, and we enabled you to verify your site with this configuration, others would be able to take advantage of this and verify your site as well. This would allow others to see your site statistics. To ensure that no one can take advantage of this configuration to view statistics to sites they don't own, we only verify sites that return a status of 404 in the header of 404 pages.
Please modify your web server configuration to return a status of 404 in the header of 404 pages. Once your web server is configured correctly, try to verify the site again. If your web server is configured this way and you receive this error, click Check Status
What I would like to know is how I could set the status, whats the correct way to write this in the header of the 404 error page I made?
View Replies
View Related
I am looking for a way that will allow me create the google sitemap for my website at the click of a button - so that every time i update a page using my (asp) content management system it automatically updates the xml.gz file on the server in turn. I know how to parse the content into an xml file, but despite lengthy searches on the web, I cant find any way of gzipping files using asp, which i thought should be possible, as IIS 6.0 has that http compression utility.
View Replies
View Related
I'm working with a client that runs an ASP based site, and we are running into some roadblocks.
First off, I don't know which ASP-friendly blogging platform to go with. I want something similar in functionality to Wordpress if possible. I've looked at Forest Blog, Presstopia, .Blog, and now Community Server. Which is best in terms of creating search friendly URL's and overall functionality?
Also, we are looking for a sitemap generation script that runs on the server. It seems as though all of the off-site generators are choking and only generating 260 URL's out of 15000. I'm not sure if it's a crawling problem, but if you know of any good sitemap generator for large ASP sites that would be helpful.
View Replies
View Related
Has anyone else had any trouble setting up a sitemap view to be
filtered by roles?
We've put a cust role provider in place, and we can verify that it's
only being called once for each connection, and is returning the
correct roles, but...
When we specify a role on the top sitemapnode that role seems to add to
the roles on lower level nodes, so we end up needing to put roles="*"
on the top node, but then regardless of which role we put against the
subnodes they're all visible - seemingly inheriting this from the top
one. Code:
View Replies
View Related
I created a web page from Excel2000, using "Save as web page..."...Publish
function. then, I moved htm file to my IIS web server. Then I added a form control, and submit button.
How can get the data on the excel file using ASP from server side?
For example, the value of Cell(1,2), Cell(2,3)....
View Replies
View Related
What I want to be able to do is create a user control that will display an
entire page page within it. Does anyone know how to do this or better yet
have any same code?
View Replies
View Related
I like to know how to write this specifc function on ASP where the user eg: display a set of records on the webpage. Example the data are ID, Name and address.
Lets say i display the data on the webpage and i set the Name as the <a href>. So when i click on the name, it will move to another page with the id of the specific name. Code:
View Replies
View Related
I have an ActiveX control in my ASP page that has not been signed yet, so currently just for testing I set the Security for Intranet to "Low". When I run the ASP page on my machine (the IIS is in my machine), I have no problem, except the page prompted me with "An ActiveX control on this page might be unsafe to interact with other parts of the page. Do you want to allow this interaction?"
But, when I run the ASP page on another machine (even though the other machine is also a development machine that already has the ActiveX control and I set the Security for Intranet to "Low"), it did not prompt me the above message, and I got an error when accesing any method of the AX control (e.g Object doesn't support this property or method 'myAXControl.method').
Is this because I have to create a CAB file and mark the AX control as safe for scripting ?To create a CAB file for this AX control, do I need to create my own VB AX
Control project that contains this control and then create a cab file for this VB project ?
View Replies
View Related
This is a standard ASP application that has several pages at the root
withthe global.asa. I set a session variable session("accountid") =
"123456" within an asp page and then response.redirect to the next page and
immediately response.write session("accountid") and I get back nothing.
But if I set a session variable session("accountid") = "123456" within an
asp page and response.redirect to a page in a sub directory and immediately
response.write session("accountid") I get back 123456 on the screen.
View Replies
View Related
I am having a problem with a site that I am developing - my aim is for it to validate as XHTML Strict however, I am running into a couple of problems validating it; in my Response.Write ASP script, I am not including " 's to define page element tags as they keep throwing up errors in the page. Code:
View Replies
View Related
I've a strange problem with Windows Vista, running an ASP page on local
machine (http://localhost/test.asp), the page does not give me any error but
the asp code is not executed (simple code : <% response.write("hello") %),
it show me a blank page, I think I've put all the setttings correctly, but
maybe I must do something obvious to fix that.
View Replies
View Related
I encounter a page reload situation in ASP. It is I need a way to differentiate whether the current page - "Application_Result.asp" got reloaded itself when user click on the browserRefresh button or is requested by the previous page "Application_Form.asp".
I tried using
<%if Request.ServerVariables("REQUEST_METHOD") = "POST" then%>
<!--it is requested from "Application_Form.asp, do something-->
<%else%>
<!--Application_Result.asp refreshed itself(such as user clicks on the
browser Refresh button, do something else-->
<%end if%>
However, in both cases, the IF statement above all evaluated as true. how to differentiate this two different behavior (Page Refresh versus Page requested by another Page) ?
View Replies
View Related
I have page for user to update his/her details. What i want is after idle for more than 20 mins, the page will redirect to login page automatically. So that the user knows that his/her session already expired and need to login again.
But it doesn't working. This is because if he/she update the details (after idle more than 20 mins), and click the Submit button, it will go to login page and all the data will be lost. Code:
View Replies
View Related
I am working with a developer, on two portions to a site, he is working in PHP and my work is done in ASP.
Is it possible for my pages to request data from a cookie that was written by his pages that are PHP but residing on the same server? Just want to make sure before I spend too much time planning out the development on my end.
View Replies
View Related
I have an application which allow users to search our database. Quite a lot
of search fields pull data from other tables. I don't want to populate the
dropdowns (total 14 of them) from the database everytime as it slow the page
load.
Instead I would like to have a link next to the text field which a
user and click and the choices can be displayed and whatever the user click
in the pop up I want to transfer it to the text box and close the popup.
For example there is a Textbox called country. The user can either type in
the country name or click on the link which will pull all the countries from
table in the database and which ever country user selects, the textbox is
popluated with the country name and the pop up closes automatically. Code:
View Replies
View Related
I'm trying to write an asp page line by line, as one would create a
text file, only my file will end in .asp.
One line simply writes a close ASP code tag, or
FILECONTENTS=FILECONTENTS & "%>"
When this line processed, an error occurs saying that the string was
never terminated because the asp page attempting to write this line of
code to a NEW asp page reads that close ASP tag (%>), as an actual
close asp tag for itself, instead of a STRING value.
How do I write this %> symbol to a new asp file, while still
maintaining its purpose to close a group of asp code in the newly
created page?
View Replies
View Related
This is my coding:
window.opener.location.reload(); window.close();
I don't want the IE to pop up the alert msg to false retry or cancel to reload the page.
I have tried:
1. window.opener.location = window.opener.location
2. window.opener.history.go(0)
But as i carry some data from previous previous page, when i use (window.opener.location = window.opener.location), it can't capture my data as it just load the page. It will pop up error as no data captured :
Microsoft VBScript runtime error '800a000d'
Type mismatch: '[string: ""]'
Any suggestion?
View Replies
View Related
I am looking for a way to pass an ADO recordset that has been retrieved in
an ASP page to another HTML-page. Is there someone who can provide me with a
small sample or a link to see how this is done?
View Replies
View Related
i am facing a problem with CrystalReports for visual basic.Net 2003. I have passed almost through all the problems but still i get a message when i view some reports "Page header or footer longer then a page".
I am using ASP.net with VB and the developing muchien is running windows XP.
the program works correctly to my computer but when i transfer it to the server machine i get the error .
The server machine is running windows 2000 server. It has the service pack on it and framework 1.1 with all the updates. Does anyone have a clwe?
View Replies
View Related
Is ASP page compiled or interpreted by the web Server and what about the internet explorer how it deal with HTML and other realted pages?
View Replies
View Related
What is the best way to lead customer from a regular page to a secured page?
Regularly, we use absolute path. say first ,a customer is on this regular page for general information: http://xxxdomain.com/index.html, then customer decides to buy something from our site. Then our program will provide an absolute path like this: https://xxxdomain.com/buy.asp.
Recently I am doing migration and feel that the absolute path is not convenient for program migration and domain merge. So I am wodering if there is any other way to do it? any suggestions and comments?
View Replies
View Related
I have a form.htm page where the user enters an ID to retrieve addresses. Then PAGE1.ASP displays the addresses. From here the user selects an address and submits. Then PAGE3.ASP brings back further information. My question is how do I use one field from the address information on PAGE2.ASP to display on PAGE3.ASP? I know how to do it with textboxs and such but cant get RS data to hope page to page. I get no errors or anthing.
On PAGE2.ASP I have :
<input type="hidden" name="CLIENTHIDDEN" value="<%=RS1("CICL_LNG_NM") %>"></td>
On PAGE3.ASP I have:
clientname = request.form("CLIENTHIDDEN")
and to display:
<td class=rt width="110" height="1">Business Name:</td><td width="849" class=rt height="1"><% =clientname%></td>
View Replies
View Related
I have a ASP Page[inline frame in an html page] that does login to a database.
When the user visits the site, the first attempt to login will always failed and session is broken. Login name and password are correct though.
Only when the user re-try agian he/sge is then able to login to the site successfully. Can anyone tell me what could had caused the first time login failure?
View Replies
View Related
Is there a way I can make my server's 404 page display even when a correct page is requested?
Here's what I'm doing: on a certain page, the requestor's IP number is checked. If the number is an intranet number (192.168.x.x or 10.x.x.x), then the user is allowed to see the page. Otherwise, I want the 404 page to appear, as if the page doesn't even exist.
It's just one security measure I'm implementing.
View Replies
View Related
Is there any way I can print the current page(page1.asp) and another
page(page2.asp)from the current page(page1.asp).
View Replies
View Related