I am trying to include an ASP file from a different domain and not having much success. I have tried to pull it in inside of <SCRIPT> tags as well, to no avail.
Does anyone have a suggestion here? I am unable to find any resources with details.
I want to include http://sub.domain.com/file.asp into my script on http://domain2.com/page1.asp
We have two sites hosted on different servers and we have many pages on domain A which has many links(asp programs) to domain B.
My question is if domain B server is in trouble, what is the best way to have all domain pages redirect to domain A? Right now I just have redirect code in each program on domain B to redirect to a maintenance page on domain A.
Using ASP I'd like to modify a string that contains HTML. I need to modify the content (the bit that the users see) but not the stuff in the tags. For example, if I had the following string Code:
I want to be to call my menu from another file onto my page so that i dont have to add it to every page of my website. The problem is when i try to add it using the include method it says that only one include file is allowed on an ASP. The other include file is my connection string so i cant really take that out of the page because then nothing else will work!
How can i get the menu page included as well as the connecting string?
Have added the code below, i have highlighted the 2 include files that i want to use in blue, i have also left the div tag in for where i currently have the menu which is what i want to take out and have ther include file there instead, if that makes sense. Basically the bit in red i want to be able to remove from all of my pages and add the blue file above the red code in instead, but i dont know how!!!!! Code:
I'm having a domain change foisted upon me and the test I did resulted in every last ASP and ASP.Net script stopping cold. Nothing but plain old html worked. Is there a FAQ or some other document available that outlines what has to be done when the IIS server machine is disconnected from one domain controller and reconnected to a totally different one? If not, does anyone here know what would have to be changed to make the ASP code play nice in the new domain?A relevant bit of info, they're also changing the name of the administrator account. I don't know if that would contribute to the death of ASP* on the system, but it might.
I have a swf file in one domain and an ASP file in another domain; the swf doesn't not receive the variables form the ASP, how can solve the problem with crossdomain policy?
Using classic ASP I want to check if a username and password are correct before passing the details on to an object (stocktake module) that uses them to authenticate the object. The object defaults to a preset user if the authentication fails and doesn't warn the user, so I wanted to do the check manually before passing it to the object.
Can anyone tell me how to get ASP to work on a Server 2003 domain controller?I keep getting 10004 errors in the system log.I've tried resynching passwords etc.
I have made a mail script to executed whilst on domain (say mydomain.com). It can email fine to any address except those that end in '@mydomain.com'.Anyone know why?I'm sending it from 'info@mydomain.com' to 'info@mydomain.com'.
I want to build a domein name checker using ASP & Vbscript but I don't have a clue how to start or what I need to do precisely.
An example of the checker can be found at. http://www.denit.net/ it's called an domeinnaam check an can be found at the middel of the right side of the page.
Are there any articles / resources out there about the point of setting the domain when you set cookies? I have been able to find nothing and fail to see the point in setting a domain. As cookies can only be accessed by the domain that set them, what is the point in setting a domain? if the domain is set for say .example.com, can all subdomains read it?
I have domain name, eg www.abc.com. Use the Dynamic DNS web site to register. How the IP of www.abc.com. can be shown once I click The Domain Name,e.g.click http://www.abc.com.
Then show http://123.123.123.123
Is it the ASP program can help me? or any other solution.
I want to resolve domain names to an IP address. e.g. turn google.com into 64.233.167.99. I cannot install components on the server hosting the web page so I need a way that either doesn't need to use a component or uses standard components found on all windows servers.
After restart some time is everithing ok. After some hours - some days, problem start. Only in pool, where dll VB6 is used, aspx pages (asp ok) does not work.
Event: Failed to execute request because the App-Domain could not be created. Error: 0x8007000e Not enough storage is available to complete this operation.
Source: ASP.NET 2.0.50727.0 Event ID: 1088
OS: Windows 2003 Server SP1
HW: dual Xeon, 4GB RAM, Server is not Domain server. dll VB6 is used in pool where aspx pages does not work, in other pools aspx pages work.
How do you fetch just the domain name part of a variable in a script? The variable can be http://www.domain.com/blahblah/whatever/page.htm or http://sub.domain.com/blahblah/whatever/page.htm
wo have several sites on a same server and these sites use subdomains of a top domain,such as www.mycom.com, admin.mycom.com, forum.mycom.com.now we want these sites to share the session state(such as loginning state),so ,without concerning a web farm or sharing session state among different top domain, the simplest way to achive this must be to set the domain of the sessionid cookies asp sent to our top domain.( if it is possible through the iis metabase , registry or something else . )
If it isn't possible to set the domain of the sessionId coookie asp sent ,then,concerning a web farm or sharing session state among domains, Could you guys recommand some third-pathy session management asp components or servers(such as aSMS,but i can't download it anywhere)?
I am looking for a way to delete (expire) all the cookies that we've ever written to the user's machine. I have found several scripts, however I have come across one "gotcha."
The scripts I have found all look something like this:
response.buffer = "true" dim x for each x in Request.Cookies Response.Cookies(x) = "must be something" Response.Cookies(x).Expires = "January 1, 1999" next
One cookie gets set like this:
Response.Cookies(x).Domain = ".henryschein.com"
so that we can retrieve it from 'www.henryschein.com' and 'info.henryschein.com'
The problem is that the script above does not delete it.
Anyone have any idea why this is?? Anyone have a script that properly deletes ALL the cookies that you've ever written to the user's machine?
Anyone know of a way to allow a cookie to be read by multiple domains, or even better a specific IIS server IP? We're looking to track users across multiple domains within our website group.
I Finally Got this admin_SubscribedCust_email_processor.asp working so it sends emails to everyone in my database but ONLY WHEN THE EMAIL IS something @homeland.am so within the network... anything else it came with error message.. CDO.Message.1 error '80040213' is this out of my hands, as it is the ipowerweb server related or can i do something to fix this problem and how?? please help asap as i have been working on this problem for a while now and i also have another email admin section on my site that the admin can send emails to the customers on the database manually and it also is the same problem!
I'm trying to send an email to customers with their order information. I thought I had it working because I had been using my email. But when I changed and use an email outside of "______@faceproject.org" I get an error that says it cannot be found.
I'm using Windows Integrated Authentication on my company intranet ASP web site (IIS6 W2K3).
I would like to know how could I get the full Active Directory domain name from the Logon_User variable.
I always get the netbios name of the domain, but I need the full domain name to be able to distinguish users (because actually there is two companies on the intranet having their AD forest linked, but also having some subdomains with identical netbios name !).
I mean, for instance for a user login "theuser" coming from the domain is "thedomain.thecompany.com", I need to get in Logon_User environement variable the following content: "thedomain.thecompany.com heuser" At the moment I only get "thedomain heuser", excepted if I switch to basic authentication, that I don't want.
I'm trying to have the user's logon to the domain information stored into variables. Now I've been reading up on the request.servervariables("logon_user"), but am having troubles getting it to work. All I want is whoever is logged on the machine to be stored into a variable on my page.
I have an XML file on one of my websites, for example lets call this: http://www.mydomain.com/Data.xml.
I would like to load this file on another one of my websites by createing a Microsoft.XMLDOM object and loading the file. i.e... http://www.myOTHERdomian.com/loadData.asp
I know that you can load files using a URL but does the URL have to be within the same domain? And if so is there a way around that? If not is there another thing I could be doing wrong? My code is as simple as this: Code: