473,406 Members | 2,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Auto clicking

3
Hello

I'm really hoping some kind soul can help me with this problem. Hopefully it's something simple that I am overlooking, but I just can't see the wood for the trees.
I am developing a live auction which is a perl cgi script, obviously timing is everything. During testing I have noticed that if there is no user click between
two,three,four etc auction items finishing, the first item to finish taints the data
of the following items. I am looking for a perl solution to the problem i.e. somehow clicking the script every 30 seconds or less or between auction items finishing to stimulate the autoclose part of the script.
As a work around which does seem to work I have the script running in a browser on my local machine and a windows based autoclicking program clicking a script link every 20 seconds.
Although far from elegant it does appear to solve my problem.
I don't think that a cronjob is the answer and I have even tried a dreaded javascript refresh routine which even though it refreshes the script, doesn't provide the necessary click and would potentially irritate users who were trying to fill forms in.
Of course when I finally launch the auction, many users should provide the necessary clicks but until then can anybody suggest a solution, some code or even a clue on where to look.

Thank you in anticipation

Dazz
Jul 7 '08 #1
4 2035
KevinADC
4,059 Expert 2GB
Your solution sounds like a band-aid. You need to find out why when there are no clicks it creates a problem. If you do not find out what the problem is it will more than likely resurface at another time and place. I am talking from experience having collabarated on several perl based auction projects and writing one of my own about 8-9 years ago. Every contingent has to be taken into account, otherwise any weakness in the script will be found and taken advantage of or the users will not have confidence in the security and accuracy of the auctions.
Jul 7 '08 #2
dazz
3
Your solution sounds like a band-aid. You need to find out why when there are no clicks it creates a problem. If you do not find out what the problem is it will more than likely resurface at another time and place. I am talking from experience having collabarated on several perl based auction projects and writing one of my own about 8-9 years ago. Every contingent has to be taken into account, otherwise any weakness in the script will be found and taken advantage of or the users will not have confidence in the security and accuracy of the auctions.
Hi Kevin

Thank you for your reply. Yes you're right my current solution is a band-aid, that is why I am seeking a solution that is controlled by the script itself. Unfortunately I do not know if it is possible for the script to generate it's own refresh. As an example of the problem, When an auction finishes with bids, on close the seller is charged an amount, if the next auction finishes without bids and there is no user click between the auctions the seller of the second item will be wrongly charged the same amount as the first seller, almost as if something else needs to reset , however, if there is a user click between the auctions, the second seller will not be charged and his item will be re-listed correctly.
Would I be right in assuming that I need to try and artificially click?, is it possible to artificially click? Any suggestions would be gratefully received.

Thank you
Jul 7 '08 #3
KevinADC
4,059 Expert 2GB
Don't even attempt to auto-click, not even sure if it is possible. Find out why the problem is occuring, that is where to fix it. You may just need to add a sleep(1) in your script where appropriate, but having no idea how your script works, and not wanting to know how it works, that is a wild guess.
Jul 8 '08 #4
dazz
3
Ok Kevin

Thanks for your help

I'll keep plugging away

If anybody else has any suggestions Please let me know

Thanks

Dazz
Jul 8 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Scott | last post by:
I have a clickable graph that resides on page 1. If user clicks a data point on the graph, the page runs again yeilding a 2nd graph that shows a more detailed graph. Problem is, I have a...
8
by: Bruce Stockwell | last post by:
the setup: Webservice/WinClient application/SQL server. VS.Net (visual basic) winform wizard creates a simple form with load cancel cancelall and datagrid bound to a simple Dataset with one...
0
by: sirpelidor | last post by:
Hi, I'm a newbie to asp.net world whom just got myself a VS.net 2003 (yay). There are alot of things I don't understand so please bare with me: 1) I made a simple aspx page with cs code-behind,...
2
by: samuelberthelot | last post by:
Hi, I've got a DIV within another. The parent DIV's size can be expanded when clicking on a button. When I do that I'd like the child DIV to expand as well. To do that i set the css property width...
9
by: Beowulf | last post by:
I was having this problem: http://groups.google.com/group/microsoft.public.sqlserver.server/msg/e36e423972323378?dmode=source with it taking an inordinate amount of time to enumerate the...
2
by: bsmith | last post by:
Having a little problem with a project my boss gave me. We have a web based hosting site that we have multiple databases that the users can connect to. Right now we have it set up that they can...
4
by: magmike | last post by:
I've got a control on my form that allows the user to select a record based on a form field (in this example, the drop down menu shows the company name, followed by the contact name but uses the...
4
by: alnoir | last post by:
I have a web page that has links to another web page containing a form. Is there any way to pass information to the form fields by clicking on the original link? For example: In the...
3
by: Iluvatar | last post by:
Hi, last week our project upgraded from vs.net 2005 to vs.net 2008. Our project still uses framework 2.0, because the deployment servers are not 3.x ready yet. Everything so far while migrating...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.