October 7, 200916 yr Hi all. I'm working on a site that has a login function, when you login you get transferred to the in-house dedicated server that holds the customer specific details and functions etc. Is there a way that when the user is transferred to the new server that I can make the URL appear the same as the original one, perhaps using asp? (which I don't normally use) The client would like the URL to be constant throughout. Thanks Stevo
October 7, 200916 yr Hi all. I'm working on a site that has a login function, when you login you get transferred to the in-house dedicated server that holds the customer specific details and functions etc. Is there a way that when the user is transferred to the new server that I can make the URL appear the same as the original one, perhaps using asp? (which I don't normally use) The client would like the URL to be constant throughout. Thanks Stevo You can't spoof or ghost the domain name if that's what you mean. Is there a reason you have the login system on a different server? I don't know your situation but it doesn't seem very logical to me. If you want to streamline things have it all on the same server... Another approach could be to have the secondary server redirect to elitebusinessservices.co.uk.
October 7, 200916 yr Author Cheers Gibbs I figured that might be the case, nevermind I don't know your situation but it doesn't seem very logical to me. If you want to streamline things have it all on the same server It's because when the login system was originally built it was completely separate from the website and wasn't accessible online, it's only this week that online services have been made available. As for merging them on to one server, the website is written with PHP on a Linux server, but the services on the in-house server are ASP on a windows server, so the two don't play nice together. I'm only here for a week so I won't be re-writing the whole thing in ASP, tho I agree it would be easier to have it all on one server.
October 7, 200916 yr You could use a frameset to keep the original URL intact. Not ideal but a quick fix
October 7, 200916 yr Cheers Gibbs I figured that might be the case, nevermind It's because when the login system was originally built it was completely separate from the website and wasn't accessible online, it's only this week that online services have been made available. As for merging them on to one server, the website is written with PHP on a Linux server, but the services on the in-house server are ASP on a windows server, so the two don't play nice together. I'm only here for a week so I won't be re-writing the whole thing in ASP, tho I agree it would be easier to have it all on one server. Is it old-style ASP or ASP.NET Stevo? If ASP.NET, you can use Server.Transfer(url,true) to redirect to the new page and the URL will stay the same......although thinking about it, you may not be able to do that cross-domain.....scratch that one then! Soz. :-D
October 7, 200916 yr Author You could use a frameset to keep the original URL intact. Not ideal but a quick fix Thats something I tried originally, it worked a treat, in FF and Chrome - but Internet Explorer doesn't let you use login details in a frame unless you go into privacy/security options and allow it (It's always IE ) and putting the instructions on each page was a bit clunky.
Create an account or sign in to comment