Redirect Script Needed

I have a bilingual website, of which the folder structure (and naming convention) is exactly the same in both English and Dutch sections. At the bottom of each page there is a link to switch language, which will take you to exactly the same page in the other language.

I need to develop some script that will look at the URL and take them to corresponding page, (e.g.):

mysite.com/en/homepage.htm

- replace the /en/ element with /nl/ (and vice versa)

mysite.com/nl/homepage.htm

Hopefully that makes sense?! Look forward to reading your posts!

View Replies


ADVERTISEMENT

Is Interdev Needed For ASP?

I've got the latest Visual Studio and have been doing ASP.NET websites.
Now I want to do a traditional ASP (not .NET) website.

I gather that these are done with Visual Interdev. Is Visual Studio 7
suitable for doing an ASP website?

I'm a little confused about where Visual Interdev fit in. Was it a part
of Visual Studio or was it a standalone product?

Is any ASP functionality lost or gained in VS 7 (.NET aside)?

Is VS 7 a suitable tool for ASP?

Is anyone that's maintaining an ASP website using VS 7 for this
purpose? If not then why?

View Replies View Related

Needed On .ics File

how do i generate a .ics file with unique name?

View Replies View Related

Components Needed In IIS

I was wondering if there is any updates or components needed if you was going to connect a database in ASP. Because I have a script that I download from a website that I know works 100% but when I set it up in my own IIS environment. it comes out with a 500 error. I've searched the internet and I keep seeing mentions of ADO and Mac types .

View Replies View Related

ASP Components Needed

I'm currently developing a website for my company. I would like to provide
list server functionality to the site, if possible. We have a third party
mail service, so I can easily POP and SMTP.

Does anyone know of any nice and reasonably priced list servers for ASP?

I'd also like to know if anyone knows of any good event calendar components
for display a small calendar on web page and listing events that are
upcoming. Having an admin page would be great too.

View Replies View Related

Asp / Xml Template Needed

Can anyone do me a huge favour? I need an asp template page which will pull data and display it on that page, from an XML file.

The file doesnt contain all the data, its a query to data on a server within our work.

Ive tried endlessley from tutorials etc and the best ive had is a message saying "XML DATA RETRIEVED"

I just cant get the phonelist.xml file to display, basically its a list of staff name / email / phone extension.

View Replies View Related

Stylesheets Needed For Printing?

I have an issue where I need to remove the underline from hyperlink text when printing a web page. I'm trying to accomplish this with a stylesheet, but the current stylesheet I'm working with is designed strickly for display and not printing. I added the following code;

@media print {
A:link {
background-color: #FFFFFF ;
color : #000000 ;
text-decoration : none ;
}
}

but no cigar. After some research it appears that a separate stylesheet must be used to control print style. Can anyone comment on this?

View Replies View Related

Needed On Error Message

I am doing a database driven website using ASP/VBScript and Access. I use a

A server timeout has occured. Here are the possible reasons

1.Please make sure the web server is up and running.
2. Please verify that the ODBC DSN exists on the testing server

I use the connection string

"Provider=Microsoft.Jet.OLEDB.4.0;Data Source="&Server.MapPath("Inventory.mdb") and when I test the database connection , it is successful. But when I try to open a recordset in Binding section in Dreamweaver MX, the error message was displayed. COuld anyone tell me what is it? I am using IIS as a testing server. Do I need to do any settings for this problem?

View Replies View Related

Opinions Needed On Writing Out XML

I have to perform a database query and write the results to an XML file.

I also need to form this XML file with a DTD file.

I'd like to hear some opinions on the best way to do this.

I figured out how to write out just raw XML using adPersistXML. But that doesn't really help as the XML needs to conform to the DTD.

I also found a way to write out the XML file line by line using .createNode and .appendChild...but that would take forever as the database query returns 72 columns.

View Replies View Related

ASP On Linux Solution Needed

For ASP on linux, what would the best solution be? Any particular programs suggested?
Right now, running CentOS. We have jsp and ASPX .

View Replies View Related

Dating Script Needed

I need a free asp based dating script having database function using ms access.

View Replies View Related

Super Simple Cart Needed

I need a super simple 100% ASP and/or VBScript shopping cart. No JavaScript allowed!

Can write to cookies, but not a database. (Sessions maybe OK) I don't need any special buttons and whistles and fancy features. Just want to add product, recalc, empty and checkout. No prices and no shipping charges needed.

View Replies View Related

Connection String For A MySQL Database Needed

I'm trying to get asp to conect to a MySQL database, I've tried copying a few examples online that I found [there doesn't seem to be many!!] and I always get a 500 error with the code below. what am i doing wrong? any examples of a working connection string anyone could show me would be fantastic.

View Replies View Related

Expert Suggestion Needed For A Asp Based Web Application

We have a couple of web applications where data is updated on a weekly
basis. The data entry is done in a vb access application which is kept
internal. The database is uploaded to the web which has a web interface for
clients to check their records. Thus dat a gets updated once a week.

In a new application, I would like to build a single web based application,
where the data entry is done from the same application and clients would look
up their records from the web. The clients should have only read access. In
other words, I would like to do the system real time. My question is whether
I would face any problem when somebody needs to edit a record while a client
wants to read record.

View Replies View Related

Simple Form Html Code Needed

i have a database and the asp file. my database will have one table, a user table, with various fields like username, password, name...age.. all i need is the html code to make a simple form such as

Welcome to the add user page:
PLease enter a username (input box)
Please enter an email address (input box)
finally a submit button.

i then want the variables to run a 'signup.asp' file which i have, and be placed into a database.

View Replies View Related

Redirect To Secure FTP Site Via Response.redirect

I am trying to use the following in an ASP page to redirect a user to a
non-anonymous FTP site:

response.redirect("ftp://myusername:mypassword@ftp.mysite.com")

but I keep getting a "permission denied" error. If I just put the same
address string in IE6's Address box and go to it, IE opens myusername's FTP
home page just fine, so I know the FTP site is working as expected. Also,
if I put in an anonymous ftp site, without the username and password (e.g.
"ftp://ftp.microsoft.com"), the redirect works fine, too.

I don't want the user to be prompted by IE for the username and password at
the FTP site, so I am providing them from within the web site.

What can be preventing the response.redirect from handling non-anonymous FTP
access? Is there a better way to do this?

View Replies View Related

Redirect

When i call logout.asp, it deletes the session etc etc and then redirects to main.asp.
main.asp is the main content, which opens in the main frame of the frameset, which is named index.html.

How can i change the redirect....
Code:

Response.Redirect("main.asp")

...so that it loads the full index.html file once again, and not load the index.html frameset into the window.

would it be like this?....
Code:

Response.Redirect("index.html" target="_self")

?

View Replies View Related

Redirect

I was wondering if it is possible to redirect the user to a specific page he/she request without the use of hyperlinks. Im suppose to list all the options in a drop down list and upon selection, say the page is Modified PBT, the user will be able to view that particular page.

is it something like

If Request("Submit")="Submit" then
materialType = request.form("MaterialType")
if materialType = "ModifiedPBT" then
Response.redirect.....
......

View Replies View Related

Redirect

How do I redirect a page back to the orginal sending page. I have a script that checks to see if a user is logged in and if he. she isn't then it redirects them to a loging page, one login has been checked and process, how do I redirect them to the original page.

--
To reply, remove "TRASH" from email address

View Replies View Related

Redirect

I am working on a form that needs to be submitted to a different server. Apparently some firewalls alert the user that the system is sending data to a different server and this may not be wise. To avoid confusing users I though I could have a simple ASP script on the same server as the html form and it's only purpose would be to send the data to the other server and return a "success" message if it completed properly.
I have a deacent understanding of scripting, but using PHP, this will be my first real go with ASP.

View Replies View Related

Redirect

how can i redirect to a page, wait on that page for 5 seconds, then redirect
somewhere else

View Replies View Related

Redirect

I have written an Two ASP pages one is login.asp Another verify.asp

login.asp redirects the page to verify.asp .

The verify.asp has the following code
<%
Set objCom = Server.CreateObject("AgileAPI.Server")
objCom.SetLicenseKey "AFDGHDJLFLFMTTIGMVFK"
b = objCom.Connect("agility", 9017, -1)
b = objCom.Login(Request.Form("username"), Request.Form("password"), "agility", "D:COM", 9010, 16384)

Response.Write ("Connected to ADV 2006" & b)
%>
I have registered that dll using regsvr32.
But it status bar is see http:localhost estverify.asp and stops there
why its not redirecting or displaying the Response.write

View Replies View Related

Redirect

i'm trying to make an asp page to log out from a restricted part of the site, and i'd like it to say "you have been logged out" then redirect back to the login page after a 3 second delay. how can i do this with either java or vbscript?

View Replies View Related

IIS Redirect

I have a friend who has a form that is submitted..

<form action="http://intranet/action.exe"....>

the problem is, that the server 'intranet' is server2003 and the .exe doesn't like that so much. so we would like to redirect http://intranet2/action.exe
is there a way anyone can think of , that won't require to much web tweaking. preferably a setting in iis that will redirect for just that one script.

View Replies View Related

Redirect

How do you redirect users to a page if their search criteria results in too
many records? I'm trying to speed up the searching process a bit. From what
I gather, you need to produce the recordset so you can assess if it's too
much or not. But if the recordset is there, why not show it? The work is
already done isn't it?I just ran a recordset of 80,000 results. I'd like to redirect at about
1,000 results.

View Replies View Related

Redirect With ASP

we use an ecommerce system who's webpage module template (which I'm customizing) is made in .asp extensions.

I have certain dead links that I want to 301 redirect. I do not want a global redirect.

The only code I find is this:

<%@ Language=VBScript %>
<%
Response.Status="301 Moved Permanently"
Response.AddHeader "Location", "http://www.new-url.com/"
%>

View Replies View Related

Redirect

How do I make a when a user does like a form like say register.aspx => complete.aspx

I tired countless amount of times like when I go to visit complete.aspx just incase someone happens to do it. I get errors about objects not there or something.

But i'd get it working and it redirects back to the page but the form won't submit doing CrossPage. But then i'd get the form working and not the redirection. I wish
I knew how to get it working. Sorry I don't have my code cause I got pissed and deleted it. Wasn't much to really save cause it was a sample to see if i can do it.

View Replies View Related

Redirect From URL

I am wanting to create a redirector on my server so that if I type in
something like 'mysite.com/redirect/target' it would look into my database
and see entry for 'target' and forward to that url.

How do I do this? I put a default.asp file in my redirect url, however,
trying to hit redirect/target tries process that url rather than read the
default.asp and the first off to my target.

One way to do this would be to put redirect?target but from a mailshot this
isn't very nice.

View Replies View Related

How To Redirect

I would like to be able to redirect the customer to another page right after this 'Insert Statement'. Code:

View Replies View Related

How Do You Do A Redirect In ASP

Was wondering if there's an ASP equivalent of the CFML CFLOCATION?

At present I'm using this :

<% Response.Write ("<HTML><head>")%>
<% Response.Write ("<META HTTP-EQUIV='Refresh' CONTENT='0';URL='prizes.asp'>")%>
<% Response.Write ("</head></html>")%>

But it's not working - browser isn't redirecting to prizes.asp (which is in the same directory as the script with the code above).

What am I doing wrong? Is there another way I can take the user to prizes.asp?

View Replies View Related

Redirect

I also have a redirect piece at the end of the code that is not doing like I want it to do. If the refresh button is clicked or if someone is coming straight to my submission page, it automatically redirects to the confirmation page, which is not what I want. I only want the redirect to happen after a successful submission....

View Replies View Related

Redirect

The database I'm working with has these 2 fields:

- "CD", which stands for "Consolidated Design Number" (not Compact DISC)

and

- "URL", which is the full URL (http://...)

Users need to be able to type a CD number into a form text box and, upon submission, be redirected to a non-database-driven html index (home page) for all the info associated with that paricular CD. A drop-down might be simpler, but it would be way too long since there are many, many numbers.

Here's what I have. Can't seem to get it to work ....

View Replies View Related

Redirect

I have a log in system where each username has its own unique password.The site checks with my database that contains all usernames and passwords and if successful,takes the logged in user to a page called client.asp


The problem is,I want each user to be taken to their own page,not all to the same page. How do I "assign" a page to each username,so when that user logs in,it takes them to their specific page and not other peoples pages.I think the code that needs to be changed is:

Response.Redirect "client.asp"

But I do not know what to put in place of the "client.asp" that would make this work.

View Replies View Related







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