Creating Semi-dynamic Pages

What I am trying to do would be useful to many sites that have product listings or archieved articles.

Instead of having server load and spider unfriendly dynamic asp pages, create semi-dynamic html pages by running an asp script which requests an asp page from a Local IIS server (or www server if need be) and writing the html text to a file and saving it as a filename.htm page. Code:

View Replies


ADVERTISEMENT

Semi Dynamic Web Pages

I would like to create a static html page from a dynamic html page. I read how to do it in chapter 10 of "Build your own database driven web site using PHP and MySQL".

And it work great on my personal server, but the site I am creating is on a computer with PHP. I have found the option to copy the file using the FileSystemObject, but that copies all of the asp code. I would like it to copy just the result of a dynamic page using ASP.

View Replies View Related

Creating Personal Web Pages - How To?

I just need to create 36 pages dynamically, each us a webpage for each
person. Its dynamic from the Db, and the no seems to be growing.

I am hoping to have short URLs like www.domainname.com/personname , Instead
of giving lengthy form Posts (www.domainname.com/pages.asp?id=32)

Also I hope there are ways to create webpages without creating folders to
each. (Is not possible to create folders to each person when they grow in
thousands...right?)

View Replies View Related

Creating .asp Pages From A Web Page

In my site i need to give the user an option to have a landing page to a site or not to.

If they choose no i need to create a page that has a basic response.redirect in the page

so the code that would be used to generate the link would look something like this :

<%response.redirect("/site/" &siteName & "/" & pageName & ".asp")%>

So how do i create a page with asp?

View Replies View Related

Creating A Dynamic Anchor

I have a web page that accesses a database to pull news stories down and create a link to another page that is populated with the news stories. These stories take up enough space that the page has to scroll. I want to be able to have the links it generate go directly to an anchor on the second page where the news story begins.

Can someone point me in the right direction to a place where I can get more information about this?

View Replies View Related

Creating Dynamic Array

I wrote a simple code to generate a dynamic array:

Dim TestArray2()
TestArray2=array()
Redim TestArray2(43)

When I uploaded this to IIS (on Vista Basic), the following error
message was given:

"An error occurred on the server when processing the URL. Please
contact the system administrator"

May I know what is the problem?

View Replies View Related

Creating A Dynamic Variable

a way to view the contents of a variable. But That variable could be one of several variables. So, I would like to pass in the name of the variable as a string into a function, and pull out the contents of that variable.

View Replies View Related

Creating Dynamic Playlists

I am trying to write a script that will insert a commercial (randomly choosing from 3 commercials) prior to a news video clip. I need to have the page dynamically created using asp (or at least I think I do).

I have tried several different methods but nothing works. The only thing that has been successful so far is a static .asx file (but that won't cut it). there is very little documentation on this from what I can find.

View Replies View Related

Creating Dynamic Named Folders

Basically, I would like to create a folder on my server for each user that comes to my site based on their last name which they enter. The code I have below is incomplete as I don't know how to incorporate the lastname into the CreateFolder method.

dim lastname, objFSO
lastname = Request.Form("lastname")
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
folder = Server.mapPath("/test/")
objFSO.CreateFolder(folder)
Set objFSO = Nothing

View Replies View Related

ASP: Creating Dynamic Form Elements

I asked a question earlier about creating dynamic pages.

I want to know if its possible to create dynamic form elements based on a condition equating to true.

e.g. as you could have dynamic texts when a condition is true.

Could i have dynamic form elements when a condition is true
e.g. response.write(create radio button)
or create combo box etc

or how is it done ?

View Replies View Related

Dynamic Pages

I am going to setup a test shopping cart and am confused about dynamically created product pages. Lets say I had 20 items in my catelog/database and only want the pages to load 8 items per page. So the first page would create 8 files and the code would have to recognize the 1st page being full and create a 2nd page with the next 8 and so on. Is there any way to do somethig like this? Ive googled and yahoo'd enough for this week and I have come up with nothing.

View Replies View Related

Dynamic Web Pages

This site has never let me down and I am hoping for the same results here. I have read so many articles on submitting webpages than are dynamic pages and how they cannot be index by the spiders.

I am the owner of a website called www.askthecameraman.com. The dynamic pages are a co-brand that is done by Nextag inc. They provide the content to my site and I do not have control of the co-brand. Also, the pages are not hosted on my server, but by Nextag. However, I would like them index by the spiders because they are the back bone of Ask the Cameraman.

The post above seems like it might help. Could anyone spend a few minutes and look at the above URL and give me suggestions on how I can specifically do this with my site with examples. I know this is asking a fair bit, but I am a cameraman, not a programmer . I do not want a complicated solution since I do not have the knowledge to pull it off.

View Replies View Related

Dynamic Pages

Does anyone know how to create new pages dynamicly? Just for some explination. I have an MS Access database (which works fine) backing a site of .asp pages. What I have is a page which has links to an indivual's page.

However, I cannot create the pages automaticly (so far) and dynamicly. Let's say I give each person their own ID number and make than a link to a new page, how would that new page be created automaticly using the database utilities?

View Replies View Related

Creating Dynamic Variable Names In A Loop

I'm having a brain fart at the moment. Can someone tell me how to dynamically create variable names based on a loop counter?

for i = 1 to Num_Cart_Items
Item_Name & i = Request.Form("item_name" & i)
Item_Number & i = Request.Form("item_number" & i)
next
Desired result:

Item_Name1 = Test Product
Item_Number1 = 1234
Item_Name2 = Test Product 2
Item_Number2 = 2345

The problem is with the Item_Name & i..I used to know how to do this, but I can't remember or find any code that I did this with.

View Replies View Related

Semi-transparent Download Tracking

let me preface this question by telling you that I cut cable and fix printers. I avoid web stuff whenever possible. But alas, my wealthy benefactors insist . . .

I'm hopefully to the last step in cookieless user-id tracking for file downloads. Here's where I am:

To download such-and-such, user enters their email addy on a form.

Form posts email to an access db which generates a user id

iis creates a link http://domain/downloadid=userid and sends it to the email address entered

At this point I no longer know what to do. Understand that that the above constitutes a poorly modified address book. Here are the caveats for this project:

If you@you.com downloads a file, I want a tick in the db. Be that adding the filename or other marker to your db record or a whole other media-list table that adds your id. Whichever is the simplest.

I'm totally good if it's a dreadfully loose way of tracking (even fake ids would be permitted and tallyed in the db as fake). I'm more interested in usage stats than protecting any of our golden audio files. Hopefully, this very spartan system could become a way to grow some trending data, like "everybody that downloaded X also grabbed a copy of Y" and so forth.

My iis/asp/access knowledge consists of exactly the things I've been forced to do so far. If this is just too cheeseball of a question, feel free to point me to the right chapter in your favorite book and I'll go buy it! My Googling for this one have been returning about 3/4 of the entire internet, so I decided to just ask.

View Replies View Related

How To Make Dynamic ASP Pages More Readable?

How do you guys make listings such as product listings and their detail pages more crawler friendly, if they are genrated using dynamic asp pages.

If your ASP uses a format like this: www.mysite.com/products.asp?idnum=3444 to display detail pages, how can I apply SEO to this format??

I know unix hosts use the mod rewrite, but I do not have access to the server settings etc. BUt I can access a database etc.

View Replies View Related

Creating Cookies In Global.asa Session_OnStart But Cannot Read Cookies On Subsequent Pages.

In my Session_OnStart in Global.asa, I am setting some cookies. One
of them, I set as follows:

dim UserID
UserID = Request.ServerVariables("LOGON_USER")
Response.Cookies("User")("ID") = UCASE(UserID)

When I immediately log the cookie value retrieved from
Request.Cookies("User")("ID") into the Windows Event Log, I get the
correct value. However, when I try to retrieve the cookie on the home
page of my application using the same code,

Request.Cookies("User")("ID"), it either cannot find the cookie or
cannot read the value. I am retrieving the cookie before all HTML
headers are written. It is my first statement on the page after
Option Explicit. I have even compared the session IDs. The SessionID
created in the Session_OnStart is the same value as the SessionID on
the home page.

I have read that the Session_OnStart only has access to the
Application, Session and Request objects. It does not explicitly say
that it does not have access to the Response object. Also, I was even
able to use Response.Write's in Global.asa to print out the values
although it looked like it had also stopped the session after I did
so. Cookies are definitely enabled on my machine. I have even tried
setting the session cookie's expiration to be persistent for a few
days to see if it was perhaps expiring before I was able to read it
but this did not work either.

Is there something preventing cookies to be created in Global.asa in
the Session_OnStart sub? Is the Response object not available???
Please let me know if anyone else has had this problem or solution.

View Replies View Related

Creating Dynamic Tables In Dreamweaver To Display Tables

I know how to create dynamic tables in dreamweaver to display fields and records in a table of a database, but in my case I need to create a dynamic table that lists all the tables in the database, then to click on the one i want 2 edit the data in there.

View Replies View Related

Asp Pages Randomly Showing As Blank White Pages

Using IIS 5.0 and sometime some asp pages (absolutely
randomly) showing as blank white pages. So far only one
way of fixing it - restart whole server. Restarting IIS,
or specific web server not helping, only whole server.

I enable server side and client side debugging, but no
errors showing up...

In view source pages always look like this:
-----------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html;
charset=windows-1251"></HEAD>
<BODY></BODY></HTML>
-----------------------

Any idea why it can happened and how to fix?

View Replies View Related

Dynamic Calendar, Need To Create Dynamic Array....

I code that creates a calendar for each month and then it displays events from that month that are stored in a db. I need to loop through my recordset and display all the events, but I can't quite figure out how to do it. I am thinking I need to do an array. But I am not really sure.... any ideas. Here is where you can view the calendar. Code:

View Replies View Related

Old Pages / Cached Pages

I am always getting cached pages even contents of the page changed on the server but I am getting old page (data).How to solve this.

View Replies View Related

Creat Pages Using Other Pages

is it possible to create pages using other pages. Here is an example... Can I make a page that has a menu on it, but the menu is actually a seperate page that I call with ASP?

View Replies View Related

Dynamic Dynamic Text

Ok, I have a Javascript ASP and in it I have a dynamic repeating table with certain attributes to people. If one of these attributes is old or invalid, i want to change the color of the text (and maybe make it flash, blink, change size, something) so that it's easy to read.

View Replies View Related

Creating A New Asp.net

Environment:
Development PC: W2K Professional
WebServer: W2K Server, IIS 5.0
Peer-to-Peer network

I'd like to create a new asp.net project on a remote server (not on the
local (development) machine. I have looked for info on how to do this, but
all I can find are instructions on how to create on localhost, then deploy
later to remote machine.

View Replies View Related

Creating An ASP

what's involved in creating an ASP? I need to create a web page where users can check their past history of the account.

View Replies View Related

Creating XML In ASP

So i currently have an asp page that creates an xml document with information from a database. However I need to link to my schema when creating the Root element here,

Set objRoot = objDom.createElement("projects")

this is the link that would go into projects:

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="semesters.xsd"

View Replies View Related

Creating A String

Im trying to create a string from checkboxes that have been checked, but for some reason its not working

strNumbers = ""
for each key in request.form("chkFacility")
strNumbers = strNumbers + "" & key & ","
intCount = intcount + 1
next

So I want to end up with a string like this '3,12,7.' Instead Im just getting a single number. Am I doing this the right way. Any help wud be just fantastic!!

View Replies View Related

Re Creating A .csv File

I know how to use ASP to create and write into a .CSV file on the server, but I have a small problem. Every time I write to the file I am adding new lines each time. I don't know how to wipe the previous contents out, and I thought this is probably a no-brainer for you guys ...

So, I'm looking either to delete the file at the start of the process and start from scratch or

* open the file
* wipe all contents from file
* write to the newly cleaned file

View Replies View Related

Creating A ZIP File

How can i create a ZIP file from a folder (full of files) of the server.?

View Replies View Related

Creating A New Cookie

I have an asp page where i created cookies-for admin and for user. The aspx page reads these cookies. Everything seems to work fine but now i have to create a new cookie if cookie has expired or if cookie is null. Also, i am having problems with the expire because if the username belongs to the admin for example and then i want to change
the username that belongs to a normal user the cookie recognises the first (admin) cookie. How do i solve this? .....

View Replies View Related

Creating Fields

I want to create an order form for prints online... I will have up to 200 prints to be selected. What I am thinking is that I will have an HTML Form that has all the 200 thumbnails with a check box next to them. They select the ones they want and push next. Then I would like it to create a set of options for each one they selected.

That basically says the image name then has a check box for 5x7, 8x10 and a text box for the amount for each... I do I create the page what creates these selections and how to I incorporate that into a mail form going to the next page?... it seems like a simple enough idea. Am wondering how the reality of it will be.

View Replies View Related

Creating An Odd Array

I am trying to pass a form value and pull some values from an array. I am getting no errors but no values on this code. Any ideas? Code:

View Replies View Related

Creating A Menu Using ASP

I am using asp and access database. I need to create a menu according each member access. In other words, if member login I need to display the menu according to the services the member selected during registration. Each service contains diff type of products.

Service1
-produc1
-product2
Service2
-produc1
-product2
-product3
..more
Service3
-produc1
-product2
..more

What is the best way to this...

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved