...

View Full Version : call another page without redirect



ahmedsoliman
08-02-2004, 09:41 AM
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.

glenngv
08-03-2004, 07:54 AM
http://www.codingforums.com/showthread.php?t=40746



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum