473,327 Members | 2,118 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

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!
Jul 17 '05 #1
2 3323
On Tue, 21 Oct 2003 23:45:22 +0300, "<- Chameleon ->"
<ch******@hotmail.NOSPAM.com> wrote:
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!


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
Jul 17 '05 #2
> >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.


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.


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 "Programming"
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
Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Paul | last post by:
Hmmm, didn't seem to work. I have set session.use_cookies = 1 and session.use_trans_sid = 1 in my php.ini file. Index.php contains:...
2
by: Alex Bazan | last post by:
Hi! I've got a Php 4.3.3 installation on A Red Hat Advanced Server 2.1. Sessions start correctly if i start them from the server root. But, if i start the session on a sub-folder, when i change ...
9
by: Larry Woods | last post by:
I have a site that works fine for days, then suddenly, I start getting ASP 0115 errors with an indication that session variables IN SEPARATE SESSIONS have disappeared! First, for background...
5
by: tshad | last post by:
When I log of I do: HttpContext.Current.Session.Clear() FormsAuthentication.SignOut() The problem is that it clears the variables that I set up in my Session_Start function in my...
5
by: Sean | last post by:
Problem with sessions I have created an application without concern for sessions. As it turns out I think that might be my undoing. What I have: I have an online quiz. I don’t need to know...
8
by: Nacho | last post by:
Hello people I have the following problem I have a private area in my site. The user enters the username and password, then clicks "enter" and the session is created and also a session...
13
by: Goofy | last post by:
Does anyone know how I can kill a session by session ID ? -- Goofy
25
by: =?Utf-8?B?RGF2aWQgVGhpZWxlbg==?= | last post by:
I tried: <sessionState timeout="1"> </sessionState> bounced IIS, and after 1 minute still had a session. ??? -- thanks - dave
14
by: Sergei Shelukhin | last post by:
Hi. I have a session started in php and two browser windows (IE)/tabs (FF) open. In one window, I execute a very slow report, immediately after that, I execute a fast simple page in another. I...
16
by: Jonathan Wood | last post by:
Greetings, I was wondering if anyone here has a good understaning of the Session object. I know there are options like the Session.Abandon method and the regenerateExpiredSessionId setting,...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.