Page 1 of 1
Integrate Ajax-IM chat software in a site?? Please help.....
Posted: Wed Dec 17, 2008 7:14 am
by rasmita
I have installed an Ajax-IM chat software in my site for the chatroom module. I need the user in my site to be logged in both in site and is directly logged to the chat room (without logging again in the chat room). Please can help me and suggest me how can I integrate it.
Re: Integrate Ajax-IM chat software in a site?? Please help.....
Posted: Thu Dec 18, 2008 3:30 am
by maneetpuri
Hi,
You will have to play with the script a to do this, basically what you have to is: -
a) Synchronization in the table of users of your website and that of the chat users.
b) When a user logins to your website also create the session variables that are being used by this chat application.
Hope this helps,
Cheers,
Re: Integrate Ajax-IM chat software in a site?? Please help.....
Posted: Thu Dec 18, 2008 7:20 am
by rasmita
maneetpuri wrote:Hi,
You will have to play with the script a to do this, basically what you have to is: -
a) Synchronization in the table of users of your website and that of the chat users.
b) When a user logins to your website also create the session variables that are being used by this chat application.
Hope this helps,
Cheers,
Thanks Maneetpuri for ur suggestion, but can you or anyone give an example on that???
Re: Integrate Ajax-IM chat software in a site?? Please help.....
Posted: Fri Dec 19, 2008 11:30 am
by novice4eva
the less hustle thing would be to check if the session values for the user exists or not, if it doesn't then you would show the regular char login screen else you would replicate the login form that is used for the chat application, but this time you would make the text fields the hidden fields and then submit it using javascript(obviously using the session values for user name and password if required)... since it is ajax based chat app, i think a normal login would include inserting data in a xml file or database(storing user info into the active user lists and all) something you wouldn't want to skip!!