Two Domains, One Site

I have a situation where I have a customer with one e-comm site and two domain names. Both domains currently point to the one site but they want different logos and purchase tracking for each domain name as visitors come through. I am not that well versed in using the HTML headers but somewhere I seem to recall a way of using the headers to identify the url/domain and then redirect or setup session variables for handling the rest.

If this is ringing a bell with anyone I could use a pointer to more info on this.

View Replies


ADVERTISEMENT

Domains Using ASP

I have a situation where we have a mirror server located outside of our domain. Using ASP, I need to have the web server on the different domain access files on a file server that is within another domain and be able to display the file from the web page. They are Word documents and PDFs and Excel files. But for security reasons, we can not use anonymous access. On our production server we just use mappings within IIS to perform this, because it is all within one domain. I hope someone has had a similar experience and can tell me how this can be done using ASP or some kind of component.

View Replies View Related

Cookies Across Domains

Is it possible to use cookies between different domains?

For my site I use 2 domains;

the first for my global site with ASP en HTML, the second is for my forum located on "hyperboards" a free forum domain. On de second domain i don't have any control and i can't put any new webpages on that site.

But I want to use the cookie of my forum on my global site.

View Replies View Related

Converting IP Addresses To Domains

ive got a piece of software (perl) that i use to track visitors on my site.
this software displays both ip addresses and domains of visitors

e.g.

A visitor from 81-178-202-110.dsl.pipex.com (81.178.202.110)
arrived without a referring URL,
and visited www.newmediadesigns.co.uk/index.shtml
at 03:01:28 PM on Friday, March 26, 2004.
This visitor used Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1).

what code do i need to display this domain information in asp?

View Replies View Related

Domains/Hosting Cart

Has anyone got a script for a domains/hosting cart running off an Access db. There seems to be quite a few PHP/Perl versions around but very little ASP.

View Replies View Related

Copying A File Between Two Domains

On one of my client's website customer's are uploading a few files each week using SA-FileUp. My clients wants that each uploaded file to be copied on another website he has got.

Any hint on how to copy one file between domains ? I was thinking about using AspHTTP which is installed on the original server but not on the other end.

View Replies View Related

Expired/deleted Domains

how i can build a script to list deleted domains ? then obviously i can add more features on from there, ive looked everywhere and all of them seem to be php so i cant see how they do it.

View Replies View Related

Domains Override Cookies

I think I may have a problem with the user of cookies in my centralized logon and registration system that I hoped could be consumed by all the sub-domains on my remote host IP. I built the application in the root of the IP and redirect the user back to
his requested page after his Login. Just before this I set a permanent cookie.

But, it appears when the user gets back to the page its GONE. However, if I go to the same address via IP and correct folder path IT is. How can this be. I thought a cookie was written to the browser. what difference does the domain make. can I salvage this application without having to deploy it in mutliple sub-domains?

View Replies View Related

Virtual Domains And Asp Include Files

Basically use Plesk to manage websites on a server and in the process of migrating domains. However Plesk creates virtual domains and all my websites use the following syntax to reference asp include files:

<!--#INCLUDE VIRTUAL="/misc/includes.asp"-->

This doesn't work now as the websites were setup with websites and NOT virtual domains.

So how do I successfully reference these files now?

View Replies View Related

Database Backup Accross Domains

Is it possible to backup a Database from one domain to another using the File System Object? I want to save a DB from a folder on my1stsite.com to my2ndsite.com but obviously the server.mappath won't work and putting the URL of the folder to save to doesn't either i.e. http://www.my2ndsite.com/savefolder/myDB.mdb .

View Replies View Related

Sharing Data Among Pages On Different Domains Using ServerXMLHTTP

I'm including the output of an .asp page hosted on other domain using serverXMLHTTP.
Is it possible that I can share the values of some variables from external file.

Like session or others like (suppose..)

TablesBGColor = "#FFG445"
TableHieght = "600"
session("ImagesFolder") = "http://www.SiteABC/_images/"

If i include the settings.asp file on the top of my asp page then How can i use
the above mentioned variables/values down in my own ASP page.

View Replies View Related

Preventing Multiple Login Prompts When Using 2 Different Domains

We have 2 domains for internal purposes: one for users (have to login
and domain has SSL) and another for sponsors (have to login and domain
does NOT have SSL).

Now when a user logs in and there are pages that have info from the
sponsors domain, users are asked to login again with a warning message
saying if they want to see secure and nonsecure information. How can
I bypass the second login? Is there something I can do in active
directory, IIS, or ASP to not have the second login appear?

View Replies View Related

Building An ASP Site Using Dreamweaver - Can Html Site Be On ASP Server?

I am to build a site onto an ASP server. Anyone here used Dreamweaver and is it just a simple matter of opening up a new ASP page in Dreamweaver and build the site like you would normally do with a HTML page and it will handle the ASP coding accordingly and you can just simply upload it onto an ASP server and it will work?

The site I am to build is basically just a standard html website, but my friend wants me to build it for an ASP server so he has asked me to make sure it is an asp site so I am presuming with the extension .asp

If I build it as a html site to begin with, will converting it to asp be hard. Could I just export my pages into asp or is there more to it?

Can a Html website be loaded and working on an asp server or host?

Is it possible to have a site mixed both html and asp, eg. the home page is html and when you click on shopping cart on the home page it goes to a hopping cart page thats .asp or do they all have to have the same extension.

View Replies View Related

Posting Form Variables From Site A To Site B

I have to pass form data from my site to another organizations site using POST method... how exactly do I do that? Im familiar with how to do it within a single site/domain, and cant use querystring... I dont know where to begin.

View Replies View Related

Site Search Powered By Google Site Map?

Whenever I do a site that is mostly static but with some semi-dynamic
sections, I've struggled to find a good site search solution without
paying for a hosted search service.

I like the FSO-based search engines, but they fail to pick up on some of
the dynamic part.

I was just creating a Google sitemap and it made me wonder: has anyone
created or seen a script that uses the XML Google sitemap to power a
search engine for your own site?

Seems like if you were keeping it updated for Google, why not use it for
your own site?

View Replies View Related

Server.Mappath() To Include Files For Other Domains On Same Server?

If I have multiple websites on the same server,can I use the #include directive to reference include files elsewhere on the server? I tried this -

<!--#include file="C:InetpubvhostsATRAMEMBER.COMhttpdocsheader.asp" -->

But no dice...

View Replies View Related

How To Log Out Of Site?

How can my members log out of my shopping website? I can't seem to figure it out. I'm using a session cart where users can log in before shopping or log in upon checking out products. How do they log out??? I'm using ASP and oracle sql.

View Replies View Related

Asp Site Map

I would like to create a site map for my map site which is in ASP. I tried
to use Visio to create a web site map but it fails because my asp home page
requires to authenticate. Is there any other tool to create a sitemap from
username/password protected website?

View Replies View Related

Site Within A Site

I want to open a website let say
google.com in my own site.but i want to replace some of its images with my own.
but remember site ( google.com ) will be running in my website everything should be of google but look will be mine.i wanted to do it for my own two websites i just used name of google.com to demonstrate my problem

View Replies View Related

My 1st Asp Site

some code to look through for getting started, i still need to sort out thing like a file to hold all the db stuff so i can call the functions rather than type it every time. cleaning up really .

View Replies View Related

Web Site

i have a slight background in HTML and basic web dev. I have been asked to create basically the following, it will be my project over the next couple of months. I basically want to build an e-commerce website that will take all data from a database. It all needs to be dynamic, products added to the database would automatically update in the website, the navigation also needs to be dynamic, it needs to be low maintainence, i aim to have the checkout to save customers details to a seperate database, the payment process would have completed, no payment details would be saved.

What do you think on the above. Does any one have firstly any code they may be able to give me, to help me along the way. it does need to be done on a budget, I will buy code if need be. What is the best program to develop such a website in?

View Replies View Related

Lag On My Site

I'm looking to eliminate all lag on my site and I have a couple questions regarding databases. Is it possible to open 2 ADODB connections at once? I want to put my sites boards on a different database than everything else but I want to get user information to update in the main db. How would I go about doing this?

Does closing all the stuff you opened in your ADODB connection make a difference? Does it resuly in the use of more bandwidth and site lag?

View Replies View Related

Site Map

i have been asked to create a 'site map' for an ASP / Access DB website which i have just started. Can someone explain to me exactly what a 'site map' is and what it is useful for please?

View Replies View Related

ASP Site

i've got a local server on another pc (ip address:192.168.1.243) but when I want to connect to ASP site that's on that computer it can't. when type "http://192.168.1.243" in my browser it returns this:

IE says: "impossible to find the page" and Firefox says: "the operation timed out when attempting to contact 192.168.1.243". I know that ASP works, because when we try it on the localhost it works (but that's not my computer so I can't use it).

View Replies View Related

Site Asp.net With Mysql

How create site with webmatrix with MySql ?

View Replies View Related

Site Counter

i have a simple asp counter in my site, the counter uses a access db & cookies (so every visitor will be counted once).

in the past days the counter has gone wild & count goes from 300 in ordinary days to 1000.
i guess this is because of robots, crawls, worms etc. is there any way i can count only real visitors?

View Replies View Related

Asp Site As Web Browser

anyone knows a VBScript that acts as a webbrowser? I am
behind a firewall and my local machine is not visible to the internet,
but I have a access to some webspace with asp VBScript. With the right
script I could tunnel pages and sites from my local machine

View Replies View Related

.mobi Web Site

We have a requirement to build a site to work on a mobile phone. Its a property search system and the site needs to show properties from the database based on the users location using the gprs position.
Can anyone point me in the right direction for doing this?

View Replies View Related

ASP Tutorial Site

I just need a simple ASP tutorial site for beginners.

View Replies View Related

Search In My Web Site

I like to create a search mechanism in my web site. This
search engine will look for the keyword in my web
directory and return the file location as hyperlink. Now,
I have included all the conent of my web site as include
text file. Example: I have index.asp and content of
index.asp located at include/index.txt. If search query
locates at index.txt I want my search code to return
index.asp instead of index.txt as search result. How can I
do it.

View Replies View Related

Transfer Of Site.

Currently I have someone wanting to transfer their site, ran in IIS/ASP, to one of my servers so that I can host if for them. I am running Windows 2003 Server with IIS 6. I have a disk that has the files for the site (from root down) I created a new site, put the files in there and configured the properties in IIS, but I only get a 500 (Internal Server Error) error page when it tries to run. I set the home directory, permissions, documents to point to the index.asp file, etc...

View Replies View Related

Live Site

I have got a small problem as follows, i am trying to test my web page on the live site of which it doesn't load to the database. hence it loads on the production server.

View Replies View Related

Session Use Within ASP Site

I have a Log In form that has the user enter a username and password. Then in the log in process the needed user fields that control the access the user has on the site are stored in different session variables. Basically, the site is dependent on the session not getting timed out.

With this in mind is it better design to set the session timeout value to a value greater then 20 minutes or would it be better to have a script check to make sure the session is active before any actions are taken? I guess it is possible that I should do both.

Then, when checking if the session is active, is there a special script for this or do I just have a variable called SessionActive in session and set this to true and then check it anytime before I initiate a process so if it is any value but true, then I display a page saying the session has expired and have them log in again.

Then, on the site I have a bottom menu that allows the user to navigate to about any page in the site from any page in the site. So basically it is possible that the user could log in to the database and then click a link to go to a static page.

Then they could hit the browsers back button to take them back to the dynamic ASP page. Is there any concerns with session variables in this case? Also, once a user logs into a database, should they be able navigate to other static pages without first logging out?

The reason I put this post in the ASP section is because the dynamic code is written in ASP.

View Replies View Related







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