What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [help] Auth for the site, via msn

[help] Auth for the site, via msn
Author: Message:
MeEtc
Patchou's look-alike
*****

Avatar
In the Shadow Gallery once again

Posts: 2200
Reputation: 60
38 / Male / Flag
Joined: Nov 2004
Status: Away
RE: [help] Auth for the site, via msn
You need to nest the if statement in the onreadystatechange function. reason for this is because the value of readyState changes value from 0 to 4. responseCode will be null until readyState is at least 2. What is happening is your IF statement is triggered many times, and the PSM has flood protection as to how often it can be updated. you want the PSM to be updated only once, but with your code it happens multiple times.Take a look at my tutorial again.

EDIT: ok, yes that was posted below. I would still recommend changing the function though.

When you are saying that you aren't authenticated on the site, what are you doing to test that? Is the script getting more information from the site, or are you opening a web browser? My best guess is that once your browser session ends, the site trashes your authentication status. If you are using the script to fetch more information, keep re-using the same XMLHTTP object, and don't re-declare it. meaning, this line should only appear once in the script:
code:
var webAuth = new ActiveXObject("Microsoft.XMLHTTP");
Post some more details of what you are trying to do.

This post was edited on 06-11-2009 at 05:27 PM by MeEtc.
[Image: signature/]     [Image: sharing.png]
I cannot hear you. There is a banana in my ear.
06-11-2009 05:21 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[help] Auth for the site, via msn - by chu4 on 06-11-2009 at 04:18 PM
RE: [help] Auth for the site, via msn - by MeEtc on 06-11-2009 at 04:52 PM
RE: [help] Auth for the site, via msn - by chu4 on 06-11-2009 at 05:17 PM
RE: [help] Auth for the site, via msn - by MeEtc on 06-11-2009 at 05:21 PM
RE: [help] Auth for the site, via msn - by chu4 on 06-11-2009 at 05:41 PM
RE: [help] Auth for the site, via msn - by MeEtc on 06-11-2009 at 05:44 PM
RE: [help] Auth for the site, via msn - by chu4 on 06-11-2009 at 05:48 PM
RE: [help] Auth for the site, via msn - by MeEtc on 06-11-2009 at 06:20 PM
RE: [help] Auth for the site, via msn - by chu4 on 06-12-2009 at 11:34 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On