I'd like to use SSL encryption to provide secure pages in an ASP.NET application. I know I can specify complete URLs (e.g. https://www....), but for several reasons, I'd like to use relative URLs.
Is there a way to do this and if so how? Also, is there a simple way to specify at a "root" level in an ASP.NET app that ALL pages should be secure automatically?
We have been assigned the task of running two ASP sites on the same IIS server. Currently we have site A running as http://SiteA on port 80 as the default site. Can we run another SiteB on port 80 as http://SiteB.? We have created another website as SiteB but if i try to configure it with port 80 it gives an error message that "Another site mayalreasy be using that port".
Cold Fusion has this tag called <CFHTTP> which allows you to grab the contents of a web site and put it in a variable. It works well because we can grab our dynamically generated header and display it on our cold fusion sites.
We have a couple of ASP sites and we want to do the same thing for them. However I am not sure if ASP has the same exact type of tag. Does anyone know?
Probably way off the mark here, but I have IIS running on my WinXP machine and I thought I could host multiple domains over the old Win98 method where I could only have the one?
All I can see at the moment is that I have a Default Web Site, which is associated to MyPC, and all I can create is virtual directories/folders within this default location. This means that instead of me being able to create the desired effect of: Code:
I am using two copies of that website ... both copies are under same domain but in different folders ... In my site, there are some pages which are not available to everone .. the site requires from a user to enter his/her username and password .. I use session varibles to check if the user is logged in or not on every single page ...
The problem is when I log in the first copy of the site and then move to the second copy ... the second site things that I am logged in !! this is because I use same session varibles name in all copies ... I can fix this problem by changing session varibles names in one of the copies ... but this will mean I have to modify 100 pages ... is there any other solution for my problem?
I'm looking for some code that will enable me to create a updateable web site. So when I design a the front end all I need to do is drop in some server variables on the html pages and the asp code does the rest via a database.
The code would be portable therefore small changes will allow me to apply to many sites, ideally it should also contain a text editor.Is this feasible ? I've looked at cms, but this doesn't seem to give enough flexibility or am I missing something ? and finally asp.net has some sort of portal system (matrix), how does this fit in ?
For the moment I think the best way forward is this code (or framework) that will enable the client to update, until a better sollution.
I deleloped a "template" web site for a national organization. They have 2000 members and wish to offer this site to each member. Some members will have their own domain, others will not. Regardless, each site will be hosted on one server by the organization. Here is the problem I am facing. Yesterday, they did their first test of this template. The client sent me this url - http://www.atra.com/~atra_member
When I went to the address, I noticed any reference in the site to a session variable defined in the global.asa was not showing up. From past experience, I seem to remember that the .asa file needs to be in the root web, yes? Seeing as they will have two thousand of these templates on the same server, how can I achieve what I am trying to do here. I want each site to be easily modified for each client. The only thing that needs to change on each site is address, name, tel., fax, etc. I thought a single global.asa file and session variables would do this hence my approach.
I have three PCs connected in a workgroup, all have Windows XP.On one PC, called MF1, I have IIS installed.In IIS I have a virtual directory called dbsite, pointing to a folder c:dbsite.In a web browser I can view the site via http://localhost/dbsite, or http://MF1/dbsite.
how would I allow the other two pcs on the network to access this site.
Users log into box 1 via regular ASP/Database authentication, and I keep a session variable to mark authenticated users. There's a link that would send users to box #2 at www2.xyz.com. How do I check whether these users are authenticated or not? I do not want to present a login screen again. Is it possible? If so, what are ways to do it, if not session/cookies?
We have one domain with a mixture of NT PDC's one Win2K DC (which was the first installed) and 4 Windows 2003 DC's.
I created our sites as per MS documentation and created the subnets that match each site. I moved each server into its own site. I then create the Inter-site transport with IP. I create one call "All Sites" and copied all sites into it.
Login scripts seem to get replicated eventually. New users don't seem to get replicated and DC's never seem to find TS license server. There aren't any messages in the Eventlog on any of the DC's.
If I move all DC's back into the Default_First-Site things start replicating immediately. Code:
we have a site, that has a link to a online PC cart that we are registered with. Trouble is, when the user goes to the other site, we obviously no longer have our interface wrapped around the page.
We can do this with an iframe, but it wont vertically stretch the content (a scroll bar appears). Is there any way in ASP, to call a url, and say, insert that url into a <td></td> on our page?
Is there some way to search a remote site. I want to create a site that will take some information from a client in a form, and use that information to search a website and take certian results and display them to the client. I think that travel websites like expedia and last minute work like this.
How to place advertising banners on say 10 different sites? After clicking on these banner, the control should go to a particular web site. Here do we hv to do coding in 10 different web sites or is there any other procedure?
Could someone help me find a tutorial (or perhaps instuct me) in the proper way to configure IIS 5.1 so that I can design and test (using localhost) multiple web sites. My problem arises when I try to debug ASPs that contain virtual includes which assume that the ASP exists in the default web site.
Since my ASPs exist in subwebs within the default site rather than in the default site, the included pages are not found and my ASPs return errors. I'm sure there must be a better way to do this but so far I haven't found one.
I am currently maintaining a web site for my company's product. The existing site is in English and written in ASP. Currently, my boss plan to add 2 more languages version to the site (Malay and Chinese). So that when user click on the "Chinese" link, the Chinese version of the site will be displayed and click on the "Malay" version, the Malay version of the site will be displayed.
I know that I can either duplicate another 2 sets of the same files with different languages and my job consider done. But the mainatance in the future will be a headache for me. So, I was planning to use XML for this purpose, can anyone show me the proper way that I can learn to use XML with ASP? What type of XML Editor should I use?
Or is there any other way to deal with this purpose? Any good references I can get from the Internet?
If I display the header information from site 2, it display PATH_TRANSLATED as below.
D:kbapplicationprogramuihttpCustomerPortaldi splay2search.asp, except the here is W with a line going across it. For some reason, when I paste it here, it changes to , but in IE, it's W with a horizontal line.
I'm making a website that is for logging Treasure sites, and each site has it own GPS coordinate. Like Site#1 has N34'35.3456 W112'45.2345 coordinate and Site#2 has N35'37.3976 W112'44.2265 coordinate and Site#3 has N33'46.3926 W112'49.2855 coordinate. What I need to do is to make a search for sites, by GPS coordinate, that will show up on a list page, that will list all the sites in a radius of 100 miles or so from the entered coordinate, and will list them from the top being the close to the entered coordinate and getting further away from the entered coordinate at the bottom of the list. I have all my sites in a database. So any Ideas PS. I really really like the way that Geocaching.com has there GPS coordinate search.
I have an asp based site which for various reasons has to go in either Trusted Sites or Intranet under security in IE7. However as soon as I place it in either of these zoneI can no longer use session variables. These session variables work fine when it is in the Internet zone. Any ideas anyone?
I have two sites on my computer. I am using a same page in the two sites. I set my IE to Korean (testing purpose) encoding for testing internationalization.
When I hit the same page in two separate sites, one shows the foreign characters in Korean, but the other shows garbage-looking characters.
I am developing a web site which includes a database containing website URLs. I need to check time to time about the status of these URLs whether those are merged with otherweb sites , renamed or expired. I want to make this process automated and a report generation which directly displays status of each site URL.