Have two different session in one browser - problematic and may be browser specific. In this case need to think how to distinguish two different tabs in browser, rather than have two different session. At this moment i see only two valid options:
- generate urls with some unique id and track it as get/post parameters for each request/response. Can be easily acheived with some web framework like Apache Wicket, where you can define/overwrite url generation strategy for whole application.
- with jsf2 you can try to use view scope managed beans to track distinguish as bean property.