Terminate and send message to a user together

Add your suggestions for improving Poker Mavens

Terminate and send message to a user together

Postby salar » Mon Jan 07, 2013 6:49 am

hi kent,
in the login callback when user want login multi account mode system terminate user automatically and send message to user. in the my code first send message to player and then terminate ,but because player terminated first can not see message.
i tired to test and want to add terminate and message together api command or ,....
salar
 
Posts: 54
Joined: Thu Apr 07, 2011 12:15 pm

Re: Terminate and send message to a user together

Postby Kent Briggs » Mon Jan 07, 2013 10:18 am

salar wrote:hi kent,
in the login callback when user want login multi account mode system terminate user automatically and send message to user. in the my code first send message to player and then terminate ,but because player terminated first can not see message.
i tired to test and want to add terminate and message together api command or ,....


Just put a delay (like 5 seconds) in between sending the message and terminating the connection.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3806
Joined: Wed Mar 19, 2008 8:47 pm

Re: Terminate and send message to a user together

Postby salar » Mon Jan 07, 2013 6:27 pm

i know that but think ASP language (or server side language) have not delay function.
salar
 
Posts: 54
Joined: Thu Apr 07, 2011 12:15 pm

Re: Terminate and send message to a user together

Postby salar » Mon Jan 07, 2013 6:36 pm

i find that thank you
salar
 
Posts: 54
Joined: Thu Apr 07, 2011 12:15 pm

Re: Terminate and send message to a user together

Postby Kent Briggs » Mon Jan 07, 2013 6:38 pm

salar wrote:i know that but think ASP language (or server side language) have not delay function.


I know PHP has a sleep() function. I don't know about ASP or ASP.NET since I don't use those.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3806
Joined: Wed Mar 19, 2008 8:47 pm


Return to Wish List

Who is online

Users browsing this forum: No registered users and 1 guest