domain

IE8 Javascript document.domain error

Hello. I need to change the domain of the document and then set it back again to the original value. It looks something like this [the page is on domain base.site.com]: function execute () { document.domain = "site.com"; // Access an object that is on another frame, but did the same set of the domain document.domain = "base.site.com...

Is this a machine name or what?

I have a third party dll, that is supposed to return machine name. Sometimes it returns \\John-PC some other times it returns \\192.168.1.120 and recently i discovered that it returns something like this \\[ef80::32d6:2255:27dd:123c] So what is the third option? If it is not a bug or MAC orelse, could i convert it to \192.168.1...

How To Log User In To ASP .NET Site Automatically If They Are Logged In To Active Directory?

Hi, Our client's site currently uses forms authentication, so users have to go to the login page to type in their username and password. There are custom membership and role providers that access a database through NHibernate to get users and roles. The client now wants users from within the local Active Directory to get logged in aut...

ASP.NET Forms login fails in Windows Domain

Hi, I'm currently integrating a web application into a customers network. The application has been successfully used many times. But here we've got the following problem: If the login page is requested just by the hostname everything works fine, but if the FQDN is used the login page just reloads withous doing anything. There's no erro...

How to set a php session cookie to all websites?

Hi all, i'm making a adwords-like to my clients websites only, and i wan't to put the cookies to save the information to all domains (and not just domain mydomain.com or subdomains .mydomain.com, i mean all). Code Sample: setcookie('var_name', 'var_value', null, "/", '.mydomain.com' ); Can anybody help me? Thanks ...

Set Cookies on subdomain?

I have the site blah.com. I need to set 3cookies + use google analytic. I would like to set it as www.blah.com so when i serve images (on blah.com or static.blah.com) it is cookie-less. Is this possible? How do i do it? I am using jquery-cookies and asp.net ...

IIRF v2.0 - Help with Domain's and Redirects

I have a primary domain - let's call it xyz.com. I also have several other secondary domains such as abc.com def.com, ghi.com, etc.. These domain all have the same content. I am trying to do a URL redirect in IIRF that will take any of the secondary domains, and replace it with my primary xyz domain. This is the closest I have gotten. ...

Grails controllers and domains

I just had a quick question as I'm still learning grails. I have a controller class that just reads a text file and loads a list with information. I'm wanting to populate one of my domains through this list. Am I able to do it like this? For instance, I have a bookController, the controller does something like //psuedocode import book...

IE png fix not calling from static domin when using relative path

All my static media is on a subdomain static.domain.com while the rest of the code is on www.domain.com. I am trying to apply the pngfix for IE and i noticed via fiddler that there are serveral requests to www.domain.com rather than static and these are all getting 404 and causing insane page load times. I swapped out the relative path ...

Setting up Google Apps

I have registered a domain (though there is no hosting yet, just name registration) and I am trying to set up google apps so that I can have email, but I cannot figure it out. Is there something I am missing? I feel like it should be easier than it is right now. ...

Where do I get Two Letter Domain Name?

For my bussiness purpose I want to take a Two letter domain name(eg: xx.yy). Where do I get this? I think GoDaddy.com don't support two letter domain names? my name is not yet registered, thank god Its available!!!! ...

Facebook API domain errors documentation

Hi! Anybody knows where I can find documentations of frustrating domain errors from facebook API? Like: error domain 1000, 603, 3, 601, etc..? I can not find exact explanations what they means. I would help to debug API requests. Thank You. ...

NHibernate - Generate Domain from Database

I know its possible to generate the database tables from the domain model. But is there any way of doing things the other way. I have a totally awful database (worst I have ever seen). Its sharded (16 Shards!!), split across multiple postgres databases (all on the same server) with foreign key relations like urn:dbtable:guid. Its pro...

Varnish: cache only specific domain

Hello, I have been Googling aggressively, but without luck. I'm using Varnish with great results, but I would like to host multiple websites on a single server (Apache), without Varnish caching all of them. Can I specify what websites by URL to cache? Thanks ...

Using NegotiateStream when domain is unavailable

I'm using a NegotiateStream to authenticate a client/server application. The server side code looks like this: SecureStream = new NegotiateStream(Stream, true); SecureStream.AuthenticateAsServer( CredentialCache.DefaultNetworkCredentials, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification); if (!Secure...

java applet domain locking

I need to be able to lock a java applet to a specific domain or range of domains. I know that it is possible to do this with flash .swf files see article. I need to be able to do this with a java applet or jar. If anyone has any information on this it would be much appreciated. ...

How can I set up a subdomain to another host?

Hey guys, so I recently purchased a cheap vps for me to play around with, to get used to working with linux, command line, and servers. I also have a shared webhost that I host my site on. For now, I want to keep my site on my shared webhost until I fully find out how to work with my vps, then I'll slowly start moving projects, ect ove...

Ensuring folder name doesn't show up in the domain name.

Hello, our hosting account is set up with the domain www.nashman.ca, and our application is at www.nashman.ca/hub. We have another domain that forwards to www.nashman.ca/hub and that's hub.mhn.co. The problem i'm having with this is that the forwarded domain adds on the /hub whenever you navigate to another page from hub.mhn.co, so the d...

Grails Controllers adding instances

Alright I asked a question before but wasn't quite sure about it. So I went ahead and waited till now to ask again. Main Question How do I add a new instance of the domain through the controller? I created a function named gather to read a file with data and then create a new Book with the specific information, however it is not adding...

Domain transfer + Microsoft exchange

I have a client who has their domain name registered through Network Solutions and their site hosted at GoDaddy. I checked at GoDaddy and they're not hosting the email accounts, so I asked the client and all they could tell me is they have Exchange. I'm trying to transfer the domain and hosting to a new host, but I don't want to mess u...