Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / December 2005

Tip: Looking for answers? Try searching our database.

Help needed on implementing timer functionality in web application

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
AVL - 28 Dec 2005 05:09 GMT
Hi,
I'm developing an online fun game called tambola...
The requirement is as follows
Each logged user will have a ticket generated for him..
The system should display the numbers from 1 to 99 after every 10 secs....

Presently, I've used a timer control to display the numbers after every 10
secs...
The problem with the timer control is that, it's causing a postback after
every 10 secs,,, which is a hit on the server..
I want to avoid this hit on the server.. Is there any other to achieve this
functionality in .net without much load on the server

regs
avl
Kevin Spencer - 28 Dec 2005 14:32 GMT
You have not described the requirement as to why this "timer" submits the
form every ten seconds, and since you wrote it, I cannot guess why it does
this, nor therefore how it might accomplish the same requirement without
posting back to the server.

Signature

HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
You can lead a fish to a bicycle,
but it takes a very long time,
and the bicycle has to *want* to change.

> Hi,
> I'm developing an online fun game called tambola...
[quoted text clipped - 12 lines]
> regs
> avl
AVL - 29 Dec 2005 04:46 GMT
Hi,
Actually, Tambola is a  game in which each player will get a ticket and the
co-ordinator of the game will pick up numbers from 1 to 99 randomly..
If the picked up number happnes to be amongst the numbers being given on the
tciket, then the player marks that numbers in his tciket as completed. The
game ends when any one of the players will have his tciket completely
marked....

We are trying to simulate this game...

The players are the users of the application and system is the co-ordinator
is of the game...The system should pick up each number randomly after every
10 secs........

To do so, we have used a timer which is hitting the performance of the
application..
So, we are trying for another alternative

> You have not described the requirement as to why this "timer" submits the
> form every ten seconds, and since you wrote it, I cannot guess why it does
[quoted text clipped - 17 lines]
> > regs
> > avl

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.