Thank you all guys for your responses.

But when i try to do the same thing in Java using servlets i am getting
different sesssion id's if i open a new same browser. But where as in using
GWT i am getting same session even if i use different browser (same
browser). So my requirement is to generate different session id when ever
there is a different browser instance like how i am getting in java.

On Mon, Aug 2, 2010 at 1:49 AM, eluminous chaitu <[email protected]
> wrote:

> Hello Mani,
>
> when Firefox generates a session id for one process, it is shared within
> all the instances of Firefox, as all the instances of Firefox is a single
> process and not different instances.
> All the instances of Firefox share a common process area which causes to
> retain a session id for all instances within that process area. This is same
> for IE too.
>
> Thanks & Regards
> eluminous Chaitu
>
>
>
>
>
> On Sat, Jul 31, 2010 at 5:22 AM, Mani <[email protected]> wrote:
>
>> Hi, when i try to get session id by using following piece of code
>> every time i am getting same session id if i try from same browser
>> (with two instance browsers) like Firefox or IE.
>>
>> getThreadLocalRequest().getSession().getId()
>>
>> Can any one tell me why it is giving same session id.
>>
>> Thanks
>> Mani
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<google-web-toolkit%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>>
>
>
> --
> Website for 
> Mobiles<http://www.eluminoustechnologies.com/website_for_mobiles.htm>| Organic
> SEO <http://www.eluminoustechnologies.com/>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to