Results 1 to 14 of 14

Thread: Ajax + Master Pages

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 2000
    Location
    Dubuque, IA
    Posts
    134

    Ajax + Master Pages

    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
    I'm not a bad guy, just bad at being a good guy!

  2. #2
    Hyperactive Member gjon's Avatar
    Join Date
    Nov 2004
    Location
    Inescapable Void
    Posts
    442

    Re: Ajax + Master Pages

    Lets see the code please.

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Ajax + Master Pages

    Quote Originally Posted by Eugenious
    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
    Something's wrong in one of the master pages.

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Jul 2000
    Location
    Dubuque, IA
    Posts
    134

    Re: Ajax + Master Pages

    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
    I'm not a bad guy, just bad at being a good guy!

  5. #5
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Ajax + Master Pages

    Quote Originally Posted by mendhak
    Something's wrong in one of the master pages.
    What a brilliant deduction!

    Try comparing each of the MPs and see what is different in the code for your login procedures. Can you post the two?
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  6. #6
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Ajax + Master Pages

    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.

  7. #7
    Frenzied Member TomGibbons's Avatar
    Join Date
    Feb 2002
    Location
    San Diego, CA Previous Location: UK
    Posts
    1,345

    Re: Ajax + 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.

  8. #8
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Ajax + Master Pages

    Listen to Tom. He wears a pirate hat and an eyepatch but he's a lovely person. And he makes a lot of sense.

  9. #9

    Thread Starter
    Addicted Member
    Join Date
    Jul 2000
    Location
    Dubuque, IA
    Posts
    134

    Re: Ajax + Master Pages

    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 not a bad guy, just bad at being a good guy!

  10. #10
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Ajax + Master Pages

    I'm getting a "cannot establish connection to the server at 65.101.91.104:81." message. Is the site up?

  11. #11
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Ajax + Master Pages

    Port 81 and not 80?
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  12. #12
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Ajax + Master Pages

    Must be multiple hosting server, so :80 seems to belong to some website called 'ATS'

  13. #13

    Thread Starter
    Addicted Member
    Join Date
    Jul 2000
    Location
    Dubuque, IA
    Posts
    134

    Re: Ajax + Master Pages

    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?
    I'm not a bad guy, just bad at being a good guy!

  14. #14
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Ajax + Master Pages

    The site is up now and now I can see why 81

    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width