|
Check whether the solution given in this link [^] address your problem.
|
|
|
|
|
Hey all,
Me and a couple of friends are developing a browser game similar to Travian (as in, jobs are tackled in real-time not turn-based).
Now, we have been trying to see what's the best way to do this real-time thing online where the user can logout and whatever is queued will still be executed once the time passes.
The only way to solve this that we thought of is to:
- have a table with logs as to what is queued and what event to fire when the time ends
- every second have some software running on the server which will check if any logs have expired and execute their event then delete from the queue
The problem with this is that we need to have some software hitting the database every second, which doesn't make much sense.
What do you all think? Is there a different way of doing this which we're not seeing?!?!
Thanks a lot
In life truth does not matter. What really matters is what others believe to be the truth. (The Up and Comer - Book)
|
|
|
|
|
I'm a bit sleepy after lunch, but... Could you not just hold a log of what a user has queued, and when they hit the server execute everything that they have queued that would have happened up to that point?
Providing that they're not interacting with others while they're offline...
|
|
|
|
|
What I would maybe do(hence, is probably wrong :-/ ), is execute all the jobs at the same time with threads and let them battle it out.
Or maybe im totally misunderstanding
|
|
|
|
|
hi everybody,
I have developed a simple web application in asp.net(sql 2005, and asp.net built-in role base security). there are some forms in this application where users enter their information, sql manipulate the information and send them back via email. it is working fine on laptop.
I'm wondering if I want to deploy it on Intranet or any local network what steps I have to follow.
if you guys send me link or any kind of related information that would be much appreciated. thanks in adv.
regards
learner
|
|
|
|
|
Like this[^]
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Install IIS to the machine which you need to make as a web server, deploy the application and make it available to your intranet users.
Google is the best answer.
|
|
|
|
|
The Answer is Simple, mybe you are confused by the word Intranet.
What is Intranet ?
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
Vuyiswa Maseko wrote: What is Intranet ?
Lets go to basics [^]
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
You wrote before you understand the moral of the question. People tend to be confused by the terms. What he is requesting is very easy, but because the term Intranet was said to his ears, he tend to become confound.
So you thought i did not know what was intranet, come on man, go to google and google "vuyiswa maseko" instead then you would never think i dont know what is intranet.
Thanks
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
i'm try to keep tracking the items displayed in the data list , but data list doesn't have the paging property so is there any way of doing that ?
|
|
|
|
|
|
i want to enable or disable master page's component from its child page.How can it be done?
Thanx in advance
|
|
|
|
|
Declare a session variable, when you want to enable or disable the components of master page set the value of the session variable in child page and in page load of master page check for that session variable value and accordingly u can enable r disable the component.
|
|
|
|
|
|
What do you mean by enable or disable the master page from Child page. Do you want to empty the master page component's content ?
|
|
|
|
|
WebApp A is referencing WebApp B. Is there a way you can redirect the user from for example "testA.aspx" in WebApp A to "testB.aspx" in WebApp B
|
|
|
|
|
Hristiyan wrote: WebApp A is referencing WebApp B
How do you reference two web apps?
Hristiyan wrote: Is there a way you can redirect the user from for example "testA.aspx" in WebApp A to "testB.aspx" in WebApp B
Do a response.redirect
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
You can achieve it after you host both the application, and then you can hardcore the url of the testb.aspx in testa.aspx page.
|
|
|
|
|
So there is no actual way to do that by hosting only one web app.
If i want to host 2 web apps, doest that mean i need a subdomain fr the other?
|
|
|
|
|
hi
i m using asp.net and sql server 2000
i enter some value in table and then bind this table to dropdown list
it sort automatically like
aaa
bbb
ccc
--select--
while i want, its should be like
--select--
aaa
bbb
ccc
pls help
thanks
|
|
|
|
|
You need to add each item using for loop. First you will add the "select" and then columns from your table
Ahsan Ullah
Senior Software Engineer
MCTS 2.0
|
|
|
|
|
when i insert first --select-- then aaa,then bbb it will automatically sort like
aaa
--select--
bbb
|
|
|
|
|
plz post your code with your server controls !
|
|
|
|
|
I want to develop a company visitors software. the software will have the following columns:
Visitors name
Purpose of visiting
Who you are visiting
time in
time out
I am having a problem in how the interface should be. I am new in programming please can you descibe for me how the interface should be. especially the time out column. the managment should be able to see those who visited.
Thank you
|
|
|
|