"pt" <richard.zellmer@gmail.comwrote in message
news:7d1728a1-e2a7-40d8-bce9-919e87663f89@i72g2000hsd.googlegroups.com...
On Jan 7, 3:46 pm, "Jon Paal [MSMD]" <Jon nospam Paal @ everywhere dot
comwrote:
Quote:
"What about another command that I could run that would 'load' the
other page. I dont need to even see the other page. I am looking now
to see if there is a way to just load the other page into memory the
set cookies and/or session variables."
>
I'm not really sure I understand what you are trying to accomplish here.
If you're tryting to get content from another site you may
Quote:
want to look into something called screen - scraping . Check it out on
google.
I am not looking to get content from the page.. The URL I submit logs
me in and resets my cookie.. every 5 hours I want to re-login. I dont
need to submit a form since the login info is in the url. I just want
to load a page so that it resets my cookie.
I want to load the same 3rd party webpage every 5 hours. When I do a
response redirect I get directed there once, end of story.. When I
stick the 3rd party inside a fram and reload the parent frame the 3rd
party site doesnt like that.
<<
Sounds to me that you don't actually need the content of the page you just
want send the request for the page to keep a login alive.
You need chunk of clientside javascript
:-
var xhr = GetXMLHttpRequest()
if (xhr)
{
xhr.Open("GET", sURL, false)
xhr.Send(null)
}
function GetXMLHttpRequest()
{
if (window.XMLHttpRequest) {
return new XMLHttpRequest()
} else if (window.ActiveXObject) {
return new ActiveXObject("MSXML2.XMLHTTP.3.0")
}
}
Where sURL is the login url you want to hit.
--
Anthony Jones - MVP ASP/ASP.NET