On 3/01/2012 2:35 PM, mohit gupta wrote:
Hi All,

I do the login with admin credentials in one internet explorer window. Now
i open one more seperate IE window and give my xwiki home url i.e
http://localhost:8888/myxwiki/ . I see in this second i am directly getting
logged in with admin credentials which is not correct. I should see login
screen on this second window here.

Then i did debugging and found out with both IE windows
xwikicontext.getRequest().getSession() returning the same session(
basically both sessions are having same session id). As per my
understanding session is specific to browser window . so both windows(or
request from diffent IE windows) should have different session  attached to
them.
Not getting how come both request are having same session id.


Thanks
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs
Hmm lets see because browsers are not all that smart.

A browser cannot separate connections fro a single site. This may be able to be programmed into a site to recognise separate tabs as separate sessions.
Easiest is to use a different browser for each task

Cheers
Peter
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to