session start

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Guest's Avatar

    session start

    I see this:
    When I open a second browser window from the first (IE6), it uses the same session with first.
    It have much fan to select "language1" (from "language2" ) in one window and in the next click second window be automatic
    "language1" .
    But I want to eliminate this nasty effect.
    How?

    Thanks!


  • Steve Holdoway

    #2
    Re: session start

    On Tue, 21 Oct 2003 23:45:22 +0300, "<- Chameleon ->"
    <cham_gss@hotma il.NOSPAM.com> wrote:
    [color=blue]
    >I see this:
    >When I open a second browser window from the first (IE6), it uses the same session with first.
    >It have much fan to select "language1" (from "language2" ) in one window and in the next click second window be automatic
    >"language1" .
    >But I want to eliminate this nasty effect.
    >How?
    >
    >Thanks!
    >[/color]

    Hi Chameleon,

    This is not true. What you are seeing is something to do with the
    browser side, and cacheing. I never got to the bottom of it, but this
    is true.

    session_id is unique for each combination of browser/url.

    ( php 4.3.3 and apache 1/2/Netscape/iPlanet/SunONE servers )

    Steve

    Comment

    • Guest's Avatar

      #3
      Re: session start

      > >When I open a second browser window from the first (IE6), it uses the same session with first.[color=blue][color=green]
      > >It have much fan to select "language1" (from "language2" ) in one window and in the next click second window be automatic
      > >"language1" .
      > >But I want to eliminate this nasty effect.[/color]
      >
      > This is not true. What you are seeing is something to do with the
      > browser side, and cacheing. I never got to the bottom of it, but this
      > is true.
      > session_id is unique for each combination of browser/url.[/color]

      I believe this too, but you can see:
      1. try http://tassadar.physics.auth.gr/~chameleon/Books/
      2. right-click in one menu link and "open in new window".
      3. in 2nd browser window click greek flag
      4. in 1st browser window click "Programmin g"
      everything in 1st browser window are in greeks!!! (we activate greeks only in 2nd browser window)
      I try Mozilla & IE6 too.

      In the code, I have this for language:
      language is changing with GET (eg index.php?lang= english)
      if $lang is not set (GET) try SESSION
      if $_SESSION['session_lang'] is not set try COOKIE
      if $_COOKIE['cookie_lang'] is not set try language for domain (eg gr=greek it=italian fr=francais default=english )

      What is error?

      thanks


      Comment

      Working...