Masked Url Subdomain,

I am developing a site for my employer in ASP, and we host our own servers. The company sells direct to people in the US, and we have authorized resellers sell to international customers. This site applies a customized header and footer (as include files) based on information collected in a cookie.

The point of these customized headers and footers is so that our authorized resellers can have their company info on our product pages. So as long as a visitor starts at a customized "launching page" for a particular reseller, the cookie will have that reseller's headers and footers on every page of our site. This all works fine.

My problem is the url in the browser address bar. It will still say "www.mycompany.com/whateverpage.asp", regardless of what headers and footers are applied. We want all references to "mycompany" erased when customers are looking at our authorized resellers' pages. My employer wants it to have a different url in the address bar that relates to the reseller.

What if we went the subdomain route, registered a more generic domain, and made subdomains off that domain for the resellers? Like, www.widgets.com with subdomains like www.acme.widgets.com? I know this is possible, but how then would I apply these new subdomain urls in the browser windows for pages that are on the www.mycompany.com site?

View Replies


ADVERTISEMENT

Masked Textbox

Im doing a code in asp.
I dont know how to format the textbox in a way that when the user enter the number the format must be for sample:

612-947-4320

Or a date format sample:

02/11/05

View Replies View Related

Subdomain

I am currently maintaining a website(ASP) in which I want to add a sub domain functionality to it that means. currently I am using like

http://www.mysite.com/someDomain

but I want it to be like

http://someDomain.mysite.com

I can do it manually by logging in to Control Panel, but i want it to be done automatically as soon as User Registers.

View Replies View Related

ASP Script For Subdomain

I have a form that asks the website visitor for the name of the subdomain. I m storing that form variable value in a file. What I m looking for is how to create a subdomain of this name using ASP script?

Example: Suppose the website visitor enters "abc" in the form variable. After the form is submited and validated, I want to create a subdomain as "abc.mysite.com" using ASP Script.

View Replies View Related

Session In Subdomain

I have a complete website running in a directory on my webserver. Now i want to webforward an subdomein to this directory. When i directly open the site on my webserver it runs perfect

but the problem is that the sessions i save for the login are empty when i reach them through the subdomain. The problem only exists in ie, in forefox it works perfect.

View Replies View Related

Subdomain Creation

Is it possible for an ASP script to create a subdomain or does the hosting server the only privilege in creating one?

View Replies View Related

How To Connect To DB In Another Subdomain

I am looking for way to connect to database that is in another subdomain
of same hosting machine. The location of file DB here:

http://name1.syte.com

I am here:
http://name2.syte.com

The database is MS Access, I don't know if I can to connect somehow without
odbc access using regular syntax like:

connection="Provider=Microsoft.Jet.OLEDB.4.0; Data Source ....

View Replies View Related

How To Write Into A Cross Subdomain Cookie

I manage a site with a normal address like: www.mysite.com
I'm using a cookie to store nicks of my users, with a code like this:
----
Response.Cookies("mycookie").Expires = #January 1, 2030#
Response.Cookies("mycookie").Path = ""
Response.Cookies("mycookie").Secure = FALSE
Response.Cookies("mycookie")("nick") = nick
----

and I'm deleting it, if a user wants so, with:
----
Response.Cookies("mycookie").Expires = #January 1, 2003#
Response.Cookies("mycookie").Path = ""
Response.Cookies("mycookie").Secure = FALSE
Response.Cookies("mycookie")("nick") = ""
Response.Cookies("mycookie") = ""
----
(I know, there's too much stuff in the delete procedure!)

Now I'm going to open some new sections of my site, with subdomain
adresses, like search.mysite.com, shop.mysite.com... and I need that
cookie authentication for the main (www) address is working also in
these subdomains.

I red on the Internet that with the DOMAIN property, I can set my
cookie to make it work for every subdomain, with something like:
----
Response.cookies("mycookie").domain = ".mysite.com"
----

.... and it works!
My problem is when I try to DELETE it: after I set a cookie with
..domain property, it seems to become "read only": any my attempt to
delete (or modify) it seems to be ignored.

Results are the same when I try to write it from the subdomain that
created it (www), or when I try from the "chief" address (mysite.com,
without any subdomain).

Where's my mistake?

View Replies View Related







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