Home All Groups Group Topic Archive Search About
Author
28 Dec 2005 5:11 AM
AVL
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

Author
28 Dec 2005 11:17 PM
Steve C. Orr [MVP, MCSD]
You should consider using client side code such as JavaScript.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net


Show quoteHide quote
"AVL" <A**@discussions.microsoft.com> wrote in message
news:FCF3B31A-3EA5-4A2C-B0E7-2DCD8E4AEE58@microsoft.com...
> 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
Author
29 Dec 2005 4:49 AM
AVL
Can I get few samples for the same?

Show quoteHide quote
"Steve C. Orr [MVP, MCSD]" wrote:

> You should consider using client side code such as JavaScript.
>
> --
> I hope this helps,
> Steve C. Orr, MCSD, MVP
> http://SteveOrr.net
>
>
> "AVL" <A**@discussions.microsoft.com> wrote in message
> news:FCF3B31A-3EA5-4A2C-B0E7-2DCD8E4AEE58@microsoft.com...
> > 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
>
>
>
Author
29 Dec 2005 4:53 AM
Steve C. Orr [MVP, MCSD]
Here's an example of a JavaScript timer that executes JavaScript code every
N seconds:

http://www.crowes.f9.co.uk/Javascript/timer.htm

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net



Show quoteHide quote
"AVL" <A**@discussions.microsoft.com> wrote in message
news:60389FC8-1220-4D92-9D8C-268F1FB0420B@microsoft.com...
> Can I get few samples for the same?
>
> "Steve C. Orr [MVP, MCSD]" wrote:
>
>> You should consider using client side code such as JavaScript.
>>
>> --
>> I hope this helps,
>> Steve C. Orr, MCSD, MVP
>> http://SteveOrr.net
>>
>>
>> "AVL" <A**@discussions.microsoft.com> wrote in message
>> news:FCF3B31A-3EA5-4A2C-B0E7-2DCD8E4AEE58@microsoft.com...
>> > 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
>>
>>
>>