scuba323 / ijab

Automatically exported from code.google.com/p/ijab
1 stars 0 forks source link

ijab loses connection after a while if several windows(with site) with are open #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. open your site first tab - i jab is connected
2. open second tab  - i jab is connected
3. after a while if i open new tab ijab is not connected

so at end in cookies i have thwo sid id's and two rid id's

What is the expected output? What do you see instead?
expected ijab connected

What version of the product are you using? On what operating system?
google chrome 5.0.342.9 beta
Linux 32bit

Please provide any additional information below.

Original issue reported on code.google.com by strufkin on 28 Apr 2010 at 2:29

GoogleCodeExporter commented 9 years ago
now using session_id as password field, so this was my problem

Original comment by strufkin on 30 Apr 2010 at 10:32

GoogleCodeExporter commented 9 years ago
How do you maintain the session in new tabs, when i open a  new tab a new ijab 
is loaded and previous sign in does not occur while on the other page  ijab is 
signed in ...
what do you mean you are using seesion_id as password field can you explain how 
you resolved it please?

Original comment by Fastian....@gmail.com on 28 Apr 2011 at 7:50

GoogleCodeExporter commented 9 years ago
How do you maintain the session in new tabs, when i open a  new tab a new ijab 
is loaded and previous sign in does not occur while on the other page  ijab is 
signed in ...
what do you mean you are using seesion_id as password field can you explain how 
you resolved it please?

Original comment by Fastian....@gmail.com on 28 Apr 2011 at 7:51

GoogleCodeExporter commented 9 years ago
Every new tab has it's own resource. 
every new tab makes new connection to jabber server.
so you logged in with test@example.com
you got resource /ijab123
if you open new tab iJab trying to log in with login/password from cookie 
fields you defined in ijab_conf
it is like you logging in again but without your input
and your new tab will have resource /ijab1245 
and so on

if you want to use same resource on every tab, you must use some proxy

hope this helps you

Original comment by strufkin on 5 May 2011 at 9:17

GoogleCodeExporter commented 9 years ago
thanks it helps but i cant quite understand how to use a proxy to do this can 
you give me some direction

Original comment by Fastian....@gmail.com on 16 May 2011 at 7:30