Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Posts
    129
    Thanks
    0
    Thanked 0 Times in 0 Posts

    call another page without redirect

    hi all
    my site www.boswtol.com is static sit but have some .asp files, i have 2 login pages, one in the homepage and the seconed in popup window.
    when i login with the seconed login and close the popup the session expired.
    so i have to login again from the home page.
    i overcome this by calling the first login from second login by this code:

    dim objXMLHTTP
    URL = "http://www.boswtol.com/services/login2.asp?action=done&username="&username&"&password="&password&" "
    Set objXMLHTTP = Server.CreateObject("Microsoft.XMLHTTP")
    objXMLHTTP.Open "GET", URL, false
    objXMLHTTP.Send
    Set objXMLHTTP = Nothing


    this methode is work but not always . so i need another method to call another page withou redirect to it.

  • #2
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,068
    Thanks
    0
    Thanked 256 Times in 252 Posts
    Glenn
    ____________________________________

    My Blog
    Tower of Hanoi Android app (FREE!)
    Tower of Hanoi Leaderboard
    Samegame Facebook App
    vBulletin Plugins
    ____________________________________


  •  

    Posting Permissions

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