/    Sign up×
Community /Pin to ProfileBookmark

need constant user online

Hi.

I desperately need to have a constant website visitor that is online 24/7 on my website. Due to a js error. We need to keep an absolute minimum of one online site visitor. This is a temporary measure while we locate the error which so far has taken 3 js coders 3 days with no success in finding. We really need to keep the script thinking that a user is online.

Is there a bot setup that will simulate a website user that NEVER leaves a certain webpage?

If not. How can I set up the script so that I can fool it into thinking there is someone online? I really need this info… i have spent hours and another thread, with NO help on the repair. I really need to be able to keep the js rolling.

I am on the verge of giving up on this project as impossible.

If any has heard of a technique to simulate a single user online without having to stay connected myself, i woul;d appreciate it.

I am so desperate, i am losing so much money.

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@KorApr 30.2011 — What you want i absolutely forgery, IMHO. Fortunately that is not possible, as far as I know. Merely because I don't understand which language has "to be fooled": the client-side or the server-side? JavaScript has no much in common with the visitors tracking.

Maybe you can simply write on your site, in hard code (HTML): "there is 1 user connected here, believe me, even it is true or not" :rolleyes: Joking, sure...

Which is that JS error which makes you feel that you need a visitor by all means on your site 24/7? Never heard about this sort of constrain.
Copy linkTweet thisAlerts:
@jalarieApr 30.2011 — Please show us the code which is causing your trouble.

Most web connections are made, used, and dropped within a very short time. For them, there's no such thing as "online 24/7." A visitor may pull a page (connection made, used, dropped) and then, after a few seconds, pull the same page again. He would, in some sense, be "always connected."

How does your current script believe it knows the number of visitors currently online? Is it polling them constantly?
Copy linkTweet thisAlerts:
@aj_nscApr 30.2011 — Kor and others, it's in this thread here: http://www.webdeveloper.com/forum/showthread.php?t=245731

Sounds to me like the OP is relying on AJAX to monitor the time left in the auction and the placing of the bids (read the thread I linked to to find out more information).

Because AJAX obviously doesn't work when there's no user on the page that the Javascript is executing on, the requests to the server stop.

Sounds like a major flaw in the design of the application that the OP was attempting to build, but at the same time, it doesn't seem like the OP knows much about it because, as you pointed out Kor, you have no idea what needs to be "tricked" into believing there's a user online.

The OP looks as it as "it works in case A, but not in case B, so let's just 'trick' the application into thinking that it's always working under case A conditions" instead of trying to find the application design flaw....

Good luck.
×

Success!

Help @prakart spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...