Reading Al URL Information For Redirect

I have a number of domain names and they all point to the same IP address. I would like to redirect to a specific folder, based on the domain name used to access the site. For example. www.root.com - points to the main default page. www.otherroot.com would need to use the default page in a specified folder.

My ISP is not able to help here by allocating new IP addresses to the subfolders of the main site. Something to do with the way IIS works. I have a huge amounts of flash animations (some 200 meg) that need to be served up and I do not want to have to duplicate them in other folders. Is there a way in ASP to code the root default page to redirect based on the URL?

View Replies


ADVERTISEMENT

Using POST To Redirect Information

I'm doing a quiz in ASP, where info is passed from "quiz.asp" to "validate.asp" which checks the answers from a database and redirects back to the quiz page to show the wrong answers.

All that is working fine, but the problem is that I also need to redirect some other information related to the user, and I don't want to use GET and the querystring to show that.

Sessions were used in previous pages but were killed and replaced by variables before the user comes in the quiz page because I don't want the pages to be time-restricted (if the sessions expire).

The validate page uses response.redirect to move to the quiz page. So I can't use a form there.

Is there any way I could hide the information passed using POST, and if not what is a safe way to get around this.

View Replies View Related

New-found Information About Using Response.Redirect

I was reading a book about Professional ASP and I just learned something that I never knew should be done. Before executing a Response.Redirect() you should use a Response.Clear() to remove the possibility of errors on the client's end. I didn't know this before and wanted to share this tidbit.

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

Row Information

I have a database page with a table. I am using ASP and MSSQL on a Windows 2003 machine.

When I get the database information displayed in the table, I have something like the following:
<table>
<tr><td>row1</td><td>row1</td><td>row1</td<td>row1</td>
</tr>
</table>
The table has a total of 167 row that would be divided into five categories.
How can i get the above table to show:
<tr><td>row1</td><td>row2</td><td>row3</td><td>row4</td></tr>

View Replies View Related

Updating The Information

i'm trying to add the data of such client, some of his data have been added already but if i'm going to add or update his data (additional info.) what happened is the data is being added into new row not on the specific client. Code:

View Replies View Related

Error Information

I would like to email detailed error information from my website when an
error occurs.
I tried to use "On Error Resume Next" and if an error occurs check the Err
object and the AspError object returned by Server.GetLastError(), but I
didn't get the same amount of details as I can see on the browser's window
if I don't set "On Error Resume Next".
Is there a way to get detailed information from IIS ?

View Replies View Related

Status Information

I'm have a page which requires considerable database processing before writing the results to the page. I therefore wish to have a "Please wait message" up on the screen whilst the main page is processed.

I've tried Response.redirect hoping that the previous page will stay until all processing on th main page is complete and id drawn but this is not the case.

View Replies View Related

Clear Information

When I submit information i post it to a page and when it’s reloaded it runs as code accordingly if I refresh it re runs the asp because the information is still posted. How do I clear the posted information? Or possibly after it runs the asp code alter a value in the posted information.

View Replies View Related

Sending Information In A URL

I would like to have my application send a 'request' to an ASP page on my server. something like:-

http://www.mydomain.com/registration.asp?name="Fred"&age="25"

The browser then displays the full URL including the
parameters: name="Fred" and age="25"

Is there any way I can send the parameters without them appearing in the URL.

View Replies View Related

Retrieve Information

how can i retrieve information on a form page that once previously submitted by the user so that when the user goes back to that form page it will remember what they inputted instead of having them to retype it again? do i have to use session? can somebody please help me... what would be the easiest and most efficient for a newbie to tackle this problem?

View Replies View Related

Update Information

I have an update page, when user changes their info. Click update button then go to the update.asp:Code:

LastName= Request.Form("LastName")
Conn.Execute "Update UserInfo SET UserID='" & UserID & "'

'Send an email to confirm…
'Thanks for updating your information

If I refresh the page, it keep sending email. How can we prevent sending email if he/she keep refreshing the page (do not want to disable the refresh button).

View Replies View Related

Secure Information

I've an ASP page in wich the customer write his card number for the payment. How can I make this information secure when it's sent to the server?

View Replies View Related

Information Encrypted

I have a login page, which is not in SSL. However, the script that processes this information is. While that information passes to the login page to the page that processes this information, is this information encrypted?

View Replies View Related

Hardware Information

I'm trying to make a web site that get user hardware information (processor's id and motherboard's id, one of them at least).there's been already one week and nothing yet.I have 2 servers:

windows 2003 server
windows XP professional
both have wmi and iis

View Replies View Related

Information Using SOAP?

I am looking for tutorial and/or help on regards to accessing information using SOAP using ASP. I'm proficient in ASP, but know ver little about SOAP and XML.

View Replies View Related

Two Bits Of Information

how do i insert two bits of information (email and emailend) into the one database field "email"?

Code:

SQL = "Insert INTO users (uid,pwd,firstname,lastname,email) Values ('" & uid & "','" & pwd & "','" & firstname & "','" &
lastname & "','" & email & "')"

how can you do that?

View Replies View Related

Checking For Information

I use ASP to check users data they submit. In particular, I'm checking for credit cards and I also use a server component DynuCreditCard. It basically affirms that the number "could be" a real credit card number.

Anyway, I cannot get through the website without having a legit CC#. None of the handful of testers that help cannot get through without a legit CC#. About once a month some user gets through with a blank credit card field. How do you troubleshoot something like that? I can't replicate the problem. Do you just say... "oh well... there was a computer glitch"...? How can I approach this problem?

View Replies View Related

Get Information Within A Page

If i have a combo box, automatically when the user changes the item, i want to display information from the database within a textbox, without having to go to the next page.
Currently i only know how to do this by going onto another page.

In VB it was a simple case of calling a procedure, how does it work in ASP? If i need to call a procedure, how would i do this in ASP. The example in w3schools passes the variables, can i do it without it?

View Replies View Related

Textbox Information

How do i search for user based on specific fields? I have a checkbox beside each field of Name, User ID, Email. There's a textbox beside each field for the user to fill up. How it suppose to work is the user would fill up the textboxes and check the appropriate fields to search on.

It can have a combination of searches like he can search on the name and the user ID or all 3 fields. I was thinking is it possible to store the textbox information into the checkbox of that field and retireve the information?

View Replies View Related

Exporting Information To .csv

I have a table that contains information that I need to export to a .csv file without manually saving the file, e.g click a button, information is passed and saved. I have no problem geting the information from the table, just exporting it into a .csv and then saving.

View Replies View Related

Pulling Information

I am working on a project involving pulling information from Active Directory (Name, email address, contact no.) and sticking this information in some SQL tables. Using ASP, How do I enable windows authentication (username and password from active directory) ?.

In other words, when the incharge user wants to login to the tables on the web, he must use his/her windows username and password ? On the same project, I want to assign different groups with different security levels. (something similar to the Active Directory security groups), and let the admin asign rights to each group in order to control access and privilege of each user within a group.

View Replies View Related

Storing Information From URL

how to store information after the ? in the url in form fields. i.e. http://url/test.asp?User=Rob in Form Field UserName .

View Replies View Related

Information Boxes

how the information boxes pop up when you mouse over a link? For instance in this forum, when you mouse over the Title of the thread, an information box pops up with the entire message. I assume that is Javascript, but does anyone know where I can find more information on this?

View Replies View Related

Collect Information

There is a web page (asp.net) that shows some information on a table, we need to collect these information from this web page every 6 hours and save it to a SQL data base and prepare it for further analyzes.

how can I collect the data from this web page automatically.

View Replies View Related

Information About Some Functions

i'm starting at ASP now and I'm searching some information about it. For example, I need to know all about Application object. Some oficial documentation where I can find it?

View Replies View Related

Login Information?!

Earlier this week i asked a question about using SQL to select information from a database as part of a sign up script that checks to see if a clients chosen login name has already been taken.

now Im attempting to do the login page for the site. The login scripts are made of two pages - the actual login.asp page, which contains a very simple form, and the dologin.asp page, which checks the information they enter with the information in the database.

This section of code is designed to check whether or not the login name they have entered is even in the database at the moment, and will later check things like passwords.... The script on the dologin.asp page is as follows: Code:

View Replies View Related

Export All Information

i am so sorry because asking this problem. u have read thru several solutions within this forum and i think i still a clear explanation regarding my problem. it works like this, a customer could view his/her reservation after entering his/her reservation ID.

a complete detail will appear in a HTML table. this table is located in a form tag because it allows customer to update the information. besides, customer also allowed to print the reservation detail by clicking the print button. my question is how to export all the information to ms word? i stucked because this page also allow customer to make changes. what i am thinking is to use 2 form tags but both have different action/process.

View Replies View Related

Copy Information

I have a form that has a place for "Customer" and "CO-Customer" information. I want to put a button by the CO-Customer section that will copy the Address information from the Customer. Do I have that button be a Submit button that posts the information back to
the form and the writes it?

View Replies View Related

Saleslogix Information

I am trying to insert the products purchased off our website into Saleslogix - any information out there - websites, links etc.?

View Replies View Related

Inserting Information

I am retrieving a record from the database and inserting the information into a form on an html page. I am able to bring up the information and in the correct location but the problem is If the cell has more than one word in it it only gives me the first word and nothing after a space.

This is what I am doing:

Code:

<td>Position(s) Applied for</td><td><input type="text" name="position" size="120"
value=<%=rs("position")%>></td>

View Replies View Related

Reading XML With ASP

Could somebody please help me out with this? I have been researching it all day and can't figure it out.

All I want to do is put some info from this XML file (staff.xml):

<staff>
<employee id="1">
<name>John</name>
<job>Janitor</job>
</employee>
<employee id="2">
<name>Mary</name>
<job>Accountant</job>
</employee>
</staff>

into an ASP page. I already started an ASP page:

<html>
<head></head>
<body>
<%
Set objXMLDoc = CreateObject("Microsoft.XMLDOM")
objXMLDoc.async = False
objXMLDoc.load("staff.xml")

response.write("<p>")
'I NEED TO INSERT THE FIRST PERSON'S NAME HERE
response.write("<br>")
'I NEED TO INSERT THE FIRST PERSON'S JOB HERE
response.write("</p>")

response.write("<p>")
'I NEED TO INSERT THE SECOND PERSON'S NAME HERE
response.write("<br>")
'I NEED TO INSERT THE SECOND PERSON'S JOB HERE
response.write("</p>")
%>
</body>
</html>

That's all I have in the ASP page because I am having trouble with it. Could somebody please help with it real quick? I'm sure it's very simple, but I am having trouble learning the XMLDOM thingy.

View Replies View Related

Reading RSS/XML

anyone know a simple to use RSS/XML feed getter so i can add external news
to my site?

View Replies View Related







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