Posted by Saul on 12/05/06 13:56
viz wrote:
> when i am running my application on Firefox and if i login then the
> same session is getting duplicated if i open another tab. Although if i
> run the program on Firefox and IE simultaneously then 2 distinct
> sessions are being created.
> Is it normal??? How can it be explained??
> Currently i m playing with a small application but soon i think i will
> have to make use of databases for user management. Can u give some
> insight into that also.
The session variable is being held in a cookie in this case. Each of
the different browsers holds cookies separately hence two sessions with
two browsers open. If you are within a single browser the same cookie
is used, hence one cookie.
Saul
www.notanant.com
Communities of websites
Navigation:
[Reply to this message]
|