I have 2 master pages in my project. I'm using the same ajax code for the login process from each page. It works for one page but not the other. Any Ideas?
Thanks
Eug
Printable View
I have 2 master pages in my project. I'm using the same ajax code for the login process from each page. It works for one page but not the other. Any Ideas?
Thanks
Eug
Lets see the code please.
Something's wrong in one of the master pages. :)Quote:
Originally Posted by Eugenious
I noticed it works when i'm running it locally (via VS 2005) but it doesn't work from my server.
AS before my main masterpage works fine but the other doesn't.
Seems odd that they both work locally but only one works from the server
Thanks
Eug
What a brilliant deduction! :afrog:Quote:
Originally Posted by mendhak
Try comparing each of the MPs and see what is different in the code for your login procedures. Can you post the two?
I'll repeat what gjon said:
Show. Your. Code.
Until then, I'll repeat my previous answer:
Something's wrong in one of the master pages. :)
Oh and using AJAX for authentication may not be the best idea you've ever had. Try not to use AJAX for everything that you possibly can. Use it sparingly.
Listen to Tom. He wears a pirate hat and an eyepatch but he's a lovely person. And he makes a lot of sense.
Hi all,
Thanks for all the tips and suggestions.
I have determined that the code is not the issue however, i could still use your expertise in figuring out the problem.
If you will go to www.genes-planet.com There's not much there however, I want to show you first hand what is happening.
Click on one of the images (Cubs, Rams or Devils). When you do, take note that the URL does not change. Also, the main page is a master page. If you go to games->pick 4 that page is also a master page. Notice that the url never changes.
Also, when the page loads for the first time you will notice that our IP address shows up in the status bar.
Any idea what is going on? I don't beleive it's my code but rather our DNS set up or IIS set up. unfortuanatley i don't know where to begin for either.
Thanks a ton!
Eug
I'm getting a "cannot establish connection to the server at 65.101.91.104:81." message. Is the site up?
Port 81 and not 80?
Must be multiple hosting server, so :80 seems to belong to some website called 'ATS'
Yes it is a multiple hosting server. Port 80 is for atspeople and Port 81 is set up for genes-planet.
Your saying that genes-planet is coming through port 80?
The site is up now and now I can see why 81 ;)