Re: [PHP] refresh PHP page via onclick event

2006-04-15 Thread chris smith
On 4/15/06, Alain Roger [EMAIL PROTECTED] wrote:
 Hi,

 Sorry to look like stupid for some of you, but i'm still not able to link to
 link (a /a) or to a button via onclick event) the refresh of my page.

 i've check META tag and also $PHP_SELF variable, but it does not work.

What happens when you try?

 i have 1 PHP page on which i have 3 flags (3 images)
 if user click on 1 of these flags, $_SESSION['Localization'] is set up to
 flag language and the page must be refreshed.

Something like this should work:

a href=?php echo $_SERVER['PHP_SELF']; ??lang=enEnglish/a
a href=?php echo $_SERVER['PHP_SELF']; ??lang=frFrench/a

Then check $_GET['lang'] to use the new language var (then set it in
the session etc).

--
Postgresql  php tutorials
http://www.designmagick.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] refresh PHP page via onclick event

2006-04-15 Thread Alain Roger
but i do not want to add some variable at the end of link...
when user click on the flag, it should first store language into a $_SESSION
variable and after redirect/refresh page.


On 4/15/06, chris smith [EMAIL PROTECTED] wrote:

 On 4/15/06, Alain Roger [EMAIL PROTECTED] wrote:
  Hi,
 
  Sorry to look like stupid for some of you, but i'm still not able to
 link to
  link (a /a) or to a button via onclick event) the refresh of my
 page.
 
  i've check META tag and also $PHP_SELF variable, but it does not work.

 What happens when you try?

  i have 1 PHP page on which i have 3 flags (3 images)
  if user click on 1 of these flags, $_SESSION['Localization'] is set up
 to
  flag language and the page must be refreshed.

 Something like this should work:

 a href=?php echo $_SERVER['PHP_SELF']; ??lang=enEnglish/a
 a href=?php echo $_SERVER['PHP_SELF']; ??lang=frFrench/a

 Then check $_GET['lang'] to use the new language var (then set it in
 the session etc).

 --
 Postgresql  php tutorials
 http://www.designmagick.com/



Re: [PHP] refresh PHP page via onclick event

2006-04-15 Thread Richard Davey

On 15 Apr 2006, at 12:51, Alain Roger wrote:


but i do not want to add some variable at the end of link...
when user click on the flag, it should first store language into a  
$_SESSION

variable and after redirect/refresh page.


Not possible. Web pages don't work like that.

You need the flags to link somewhere, and only then can it store the  
details in the session. So either each flag links to its own PHP  
script (pointless), or you follow the advice of Chris and handle it  
that way. However you look at it though, you've got to pass a  
language somehow. Either via the query string, or by calling a unique  
script that handles that language only.


Cheers,

Rich
--
http://www.corephp.co.uk
Zend Certified Engineer
PHP Development Services

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] refresh PHP page via onclick event

2006-04-15 Thread afan
Or, use form and images as button and you will not get variables at the
end of the link:


form method=post action=?= $_SERVER['PHP_SELF'] ?
input type=images src=engFlag.jpg name=lang value=en
input type=images src=fraFlag.jpg name=lang value=fr
/form


and on the top of the page (php file) before you grab info from database
and language info (maybe i the header file):

?php
if(isset($_POST['lang']))
{
   $_SESSION['lang'] = mysql_real_escape_string($_POST['lang']);
}
?


-afan

 On 15 Apr 2006, at 12:51, Alain Roger wrote:

 but i do not want to add some variable at the end of link...
 when user click on the flag, it should first store language into a
 $_SESSION
 variable and after redirect/refresh page.

 Not possible. Web pages don't work like that.

 You need the flags to link somewhere, and only then can it store the
 details in the session. So either each flag links to its own PHP
 script (pointless), or you follow the advice of Chris and handle it
 that way. However you look at it though, you've got to pass a
 language somehow. Either via the query string, or by calling a unique
 script that handles that language only.

 Cheers,

 Rich
 --
 http://www.corephp.co.uk
 Zend Certified Engineer
 PHP Development Services

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] refresh PHP page via onclick event

2006-04-15 Thread tedd

At 1:40 PM +0200 4/15/06, Alain Roger wrote:

Hi,

Sorry to look like stupid for some of you, but i'm still not able to link to
link (a /a) or to a button via onclick event) the refresh of my page.

i've check META tag and also $PHP_SELF variable, but it does not work.

here is what i would like to do.

i have 1 PHP page on which i have 3 flags (3 images)
if user click on 1 of these flags, $_SESSION['Localization'] is set up to
flag language and the page must be refreshed.

thanks a lot for some help or tutorials.

Alain


Alain:

Try this:

http://www.sperling.com/examples/styleswitch/

The demo jumps from one style sheet to another, but with a little 
alteration it could be expanded to solve your problem. It also stores 
the user preference in a cookie -- you probably want that as well.


However, it does use a POST in the operation, BUT the switch is so 
fast that the user usually doesn't see it added to the url. Try the 
above link and see for yourself.


HTH's

tedd

--

http://sperling.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Refresh php section

2003-09-25 Thread chris . neale
Consider 4 IFRAMEs on one page, with meta refreshes in each header which
point to your php script with a get parameter of whichever 'section' you're
dealing with.

Regards

Chris

-Original Message-
From: ascll [mailto:[EMAIL PROTECTED]
Sent: 25 September 2003 08:48
To: [EMAIL PROTECTED]
Subject: [PHP] Refresh php section


= start Test.php =
// Section-A
?php
...
?

// Section-B
?php
...
?

// Section-C
?php
...
?

// Section-D
?php
...
?
= end Test.php =

Greetings,

It that a way for me to reload Section-A's php codes every 1-second and
Section-D's php codes every 5-second, that belongs to the SAME php file, say
test.php?

Thanks in advance.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
 
If you are not the intended recipient of this e-mail, please preserve the
confidentiality of it and advise the sender immediately of any error in
transmission. Any disclosure, copying, distribution or action taken, or
omitted to be taken, by an unauthorised recipient in reliance upon the
contents of this e-mail is prohibited. Somerfield cannot accept liability
for any damage which you may sustain as a result of software viruses so
please carry out your own virus checks before opening an attachment. In
replying to this e-mail you are granting the right for that reply to be
forwarded to any other individual within the business and also to be read by
others. Any views expressed by an individual within this message do not
necessarily reflect the views of Somerfield.  Somerfield reserves the right
to intercept, monitor and record communications for lawful business
purposes.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Refresh PHP

2003-07-09 Thread Mauricio
Ralph,

Before anything, I would like to thank you for the time you are spending
with my problem!

Ok. I changed using $_SESSION and the problem still happens. I printed both,
$_SESSION and $HTTP_SESSION_VARS and they are the same... not the current
user, but the last logged. It's funny that in the next page, after login, if
I print $_SESSION or $HTTP_SESSION_VARS they are right, but when I call
another page (using a link), like some report, it appears the wrong user.
All pages has the same header, setting no cache...

any ideas?

Thank you

Mauricio Valente

- Original Message -
From: Ralph Guzman [EMAIL PROTECTED]
To: 'Mauricio' [EMAIL PROTECTED]
Sent: Tuesday, July 08, 2003 6:57 PM
Subject: RE: [PHP] Refresh PHP


 I though you were passing the variable through the url. If you have this
 stored in a session, then try replacing $_GET with $_SESSION

 -Original Message-
 From: Mauricio [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, July 08, 2003 1:56 PM
 To: 'PHP'
 Subject: Re: [PHP] Refresh PHP

 Doing this, it works. The variable 'url_variable' is changed when it
 pass
 over the if. But I don't want to use a get variable, it could be easily
 changed by the users... its my problem...

 Maurício Valente

 - Original Message -
 From: Ralph Guzman [EMAIL PROTECTED]
 To: 'Mauricio' [EMAIL PROTECTED]; 'PHP'
 [EMAIL PROTECTED]
 Sent: Tuesday, July 08, 2003 4:05 PM
 Subject: RE: [PHP] Refresh PHP


  How about:
 
  if($_GET['url_variable'] != $url_variable){
 $url_variable = $_GET['url_variable'];
 session_register('url_variable')
  }
 
 
  -Original Message-
  From: Mauricio [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, July 08, 2003 11:14 AM
  To: PHP
  Subject: Re: [PHP] Refresh PHP
 
  Hello Ralph,
 
  Actually, after calling session_destroy() I reset those variables
  assigning
  an empty value like you said. But it still doesn't work. I did a test
  after
  destroying session variables, printing them. They are empty.
 
  Another weird thing is that when a login as joao them logoff,
 exclude
  IE
  cache, going in Tools  Internet Option..., and login again with
  another
  user, this way the variable are printed correctly.
 
  It happens in any windows version (95,98,ME,2K,XP) using IE 6.0 and
  Netscape
  7.
 
 
 
  - Original Message -
  From: Ralph Guzman [EMAIL PROTECTED]
  To: 'Mauricio' [EMAIL PROTECTED]
  Sent: Tuesday, July 08, 2003 2:11 PM
  Subject: RE: [PHP] Refresh PHP
 
 
   Rather than using session_destroy() reset the session variable by
   assigning it an empty value. For example, lets say your url looks
   something like this:
  
   http://www.mydomain.com/?url_variable=Mauricio
  
   then do the following:
  
   if($_GET['url_variable'] != $url_variable){
  $url_variable = ;
  session_register('url_variable')
   }
  
  
   -Original Message-
   From: Mauricio [mailto:[EMAIL PROTECTED]
   Sent: Tuesday, July 08, 2003 7:02 AM
   To: PHP
   Subject: [PHP] Refresh PHP
  
   Hi people!
  
   Did anyone get this situation?
  
   I'm creating a Site that uses 3 session variables. One of them I
  always
   print at the top of the page, it's the name of the user. There is a
  link
   that calls the function session_destroy(). Everytime that I follow
  this
   link
   and log in with another user, that session variable printed doesn't
   change,
   but if I press F5 in IE or Netscape them it brings the right user. I
   can't
   make the page return the current user login, it always came with the
   last
   user logged. I tried to add some headers to set no cache in all php
   pages,
   but it doesn't work.
  
   Anyone can help me???
  
   Thanks
  
   PS: Sorry about my poor english...
  
  
   Maurício Valente
  
  
  
   --
   PHP General Mailing List (http://www.php.net/)
   To unsubscribe, visit: http://www.php.net/unsub.php
  
  
  
 
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php






-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Refresh PHP

2003-07-09 Thread Scott Fletcher
PHP session functions and $_SESSION work kind of funny with Internet
Explorer while this problem rarely happen in 3rd party browser due to the
bad design of Internet Explorer...  It's a microsoft problem.  I have this
similiar problem with Internet Explorer.  The workaround to the problem I
have is to eliminate the use of session_destroy().  Someone anyone login, a
new session token will be created anyway.  Shockingly, when going from one
webpage to another, Internet Explorer sometime grab a wrong session token.

Mauricio [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
 Ralph,

 Before anything, I would like to thank you for the time you are spending
 with my problem!

 Ok. I changed using $_SESSION and the problem still happens. I printed
both,
 $_SESSION and $HTTP_SESSION_VARS and they are the same... not the current
 user, but the last logged. It's funny that in the next page, after login,
if
 I print $_SESSION or $HTTP_SESSION_VARS they are right, but when I call
 another page (using a link), like some report, it appears the wrong user.
 All pages has the same header, setting no cache...

 any ideas?

 Thank you

 Mauricio Valente

 - Original Message -
 From: Ralph Guzman [EMAIL PROTECTED]
 To: 'Mauricio' [EMAIL PROTECTED]
 Sent: Tuesday, July 08, 2003 6:57 PM
 Subject: RE: [PHP] Refresh PHP


  I though you were passing the variable through the url. If you have this
  stored in a session, then try replacing $_GET with $_SESSION
 
  -Original Message-
  From: Mauricio [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, July 08, 2003 1:56 PM
  To: 'PHP'
  Subject: Re: [PHP] Refresh PHP
 
  Doing this, it works. The variable 'url_variable' is changed when it
  pass
  over the if. But I don't want to use a get variable, it could be easily
  changed by the users... its my problem...
 
  Maurício Valente
 
  - Original Message -
  From: Ralph Guzman [EMAIL PROTECTED]
  To: 'Mauricio' [EMAIL PROTECTED]; 'PHP'
  [EMAIL PROTECTED]
  Sent: Tuesday, July 08, 2003 4:05 PM
  Subject: RE: [PHP] Refresh PHP
 
 
   How about:
  
   if($_GET['url_variable'] != $url_variable){
  $url_variable = $_GET['url_variable'];
  session_register('url_variable')
   }
  
  
   -Original Message-
   From: Mauricio [mailto:[EMAIL PROTECTED]
   Sent: Tuesday, July 08, 2003 11:14 AM
   To: PHP
   Subject: Re: [PHP] Refresh PHP
  
   Hello Ralph,
  
   Actually, after calling session_destroy() I reset those variables
   assigning
   an empty value like you said. But it still doesn't work. I did a test
   after
   destroying session variables, printing them. They are empty.
  
   Another weird thing is that when a login as joao them logoff,
  exclude
   IE
   cache, going in Tools  Internet Option..., and login again with
   another
   user, this way the variable are printed correctly.
  
   It happens in any windows version (95,98,ME,2K,XP) using IE 6.0 and
   Netscape
   7.
  
  
  
   - Original Message -
   From: Ralph Guzman [EMAIL PROTECTED]
   To: 'Mauricio' [EMAIL PROTECTED]
   Sent: Tuesday, July 08, 2003 2:11 PM
   Subject: RE: [PHP] Refresh PHP
  
  
Rather than using session_destroy() reset the session variable by
assigning it an empty value. For example, lets say your url looks
something like this:
   
http://www.mydomain.com/?url_variable=Mauricio
   
then do the following:
   
if($_GET['url_variable'] != $url_variable){
   $url_variable = ;
   session_register('url_variable')
}
   
   
-Original Message-
From: Mauricio [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 08, 2003 7:02 AM
To: PHP
Subject: [PHP] Refresh PHP
   
Hi people!
   
Did anyone get this situation?
   
I'm creating a Site that uses 3 session variables. One of them I
   always
print at the top of the page, it's the name of the user. There is a
   link
that calls the function session_destroy(). Everytime that I follow
   this
link
and log in with another user, that session variable printed doesn't
change,
but if I press F5 in IE or Netscape them it brings the right user. I
can't
make the page return the current user login, it always came with the
last
user logged. I tried to add some headers to set no cache in all php
pages,
but it doesn't work.
   
Anyone can help me???
   
Thanks
   
PS: Sorry about my poor english...
   
   
Maurício Valente
   
   
   
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
   
   
   
  
  
  
   --
   PHP General Mailing List (http://www.php.net/)
   To unsubscribe, visit: http://www.php.net/unsub.php
  
  
  
  
   --
   PHP General Mailing List (http://www.php.net/)
   To unsubscribe, visit: http://www.php.net/unsub.php
  
 
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 





-- 
PHP General Mailing

RE: [PHP] Refresh PHP

2003-07-08 Thread Brian S. Drexler
Try adding a random number to the end of your
URL.index.php?$randomnumber

-Original Message-
From: Mauricio [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 08, 2003 10:02 AM
To: PHP
Subject: [PHP] Refresh PHP


Hi people!

Did anyone get this situation?

I'm creating a Site that uses 3 session variables. One of them I always
print at the top of the page, it's the name of the user. There is a link
that calls the function session_destroy(). Everytime that I follow this link
and log in with another user, that session variable printed doesn't change,
but if I press F5 in IE or Netscape them it brings the right user. I can't
make the page return the current user login, it always came with the last
user logged. I tried to add some headers to set no cache in all php pages,
but it doesn't work.

Anyone can help me???

Thanks

PS: Sorry about my poor english...


Maurício Valente



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Refresh PHP

2003-07-08 Thread Mauricio
Hello Ralph,

Actually, after calling session_destroy() I reset those variables assigning
an empty value like you said. But it still doesn't work. I did a test after
destroying session variables, printing them. They are empty.

Another weird thing is that when a login as joao them logoff,  exclude IE
cache, going in Tools  Internet Option..., and login again with another
user, this way the variable are printed correctly.

It happens in any windows version (95,98,ME,2K,XP) using IE 6.0 and Netscape
7.



- Original Message -
From: Ralph Guzman [EMAIL PROTECTED]
To: 'Mauricio' [EMAIL PROTECTED]
Sent: Tuesday, July 08, 2003 2:11 PM
Subject: RE: [PHP] Refresh PHP


 Rather than using session_destroy() reset the session variable by
 assigning it an empty value. For example, lets say your url looks
 something like this:

 http://www.mydomain.com/?url_variable=Mauricio

 then do the following:

 if($_GET['url_variable'] != $url_variable){
$url_variable = ;
session_register('url_variable')
 }


 -Original Message-
 From: Mauricio [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, July 08, 2003 7:02 AM
 To: PHP
 Subject: [PHP] Refresh PHP

 Hi people!

 Did anyone get this situation?

 I'm creating a Site that uses 3 session variables. One of them I always
 print at the top of the page, it's the name of the user. There is a link
 that calls the function session_destroy(). Everytime that I follow this
 link
 and log in with another user, that session variable printed doesn't
 change,
 but if I press F5 in IE or Netscape them it brings the right user. I
 can't
 make the page return the current user login, it always came with the
 last
 user logged. I tried to add some headers to set no cache in all php
 pages,
 but it doesn't work.

 Anyone can help me???

 Thanks

 PS: Sorry about my poor english...


 Maurício Valente



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php






-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Refresh PHP

2003-07-08 Thread Ralph Guzman
How about:

if($_GET['url_variable'] != $url_variable){
   $url_variable = $_GET['url_variable'];
   session_register('url_variable')
}


-Original Message-
From: Mauricio [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 08, 2003 11:14 AM
To: PHP
Subject: Re: [PHP] Refresh PHP

Hello Ralph,

Actually, after calling session_destroy() I reset those variables
assigning
an empty value like you said. But it still doesn't work. I did a test
after
destroying session variables, printing them. They are empty.

Another weird thing is that when a login as joao them logoff,  exclude
IE
cache, going in Tools  Internet Option..., and login again with
another
user, this way the variable are printed correctly.

It happens in any windows version (95,98,ME,2K,XP) using IE 6.0 and
Netscape
7.



- Original Message -
From: Ralph Guzman [EMAIL PROTECTED]
To: 'Mauricio' [EMAIL PROTECTED]
Sent: Tuesday, July 08, 2003 2:11 PM
Subject: RE: [PHP] Refresh PHP


 Rather than using session_destroy() reset the session variable by
 assigning it an empty value. For example, lets say your url looks
 something like this:

 http://www.mydomain.com/?url_variable=Mauricio

 then do the following:

 if($_GET['url_variable'] != $url_variable){
$url_variable = ;
session_register('url_variable')
 }


 -Original Message-
 From: Mauricio [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, July 08, 2003 7:02 AM
 To: PHP
 Subject: [PHP] Refresh PHP

 Hi people!

 Did anyone get this situation?

 I'm creating a Site that uses 3 session variables. One of them I
always
 print at the top of the page, it's the name of the user. There is a
link
 that calls the function session_destroy(). Everytime that I follow
this
 link
 and log in with another user, that session variable printed doesn't
 change,
 but if I press F5 in IE or Netscape them it brings the right user. I
 can't
 make the page return the current user login, it always came with the
 last
 user logged. I tried to add some headers to set no cache in all php
 pages,
 but it doesn't work.

 Anyone can help me???

 Thanks

 PS: Sorry about my poor english...


 Maurício Valente



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php






-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Refresh PHP

2003-07-08 Thread Mauricio
Doing this, it works. The variable 'url_variable' is changed when it pass
over the if. But I don't want to use a get variable, it could be easily
changed by the users... its my problem...

Maurício Valente

- Original Message -
From: Ralph Guzman [EMAIL PROTECTED]
To: 'Mauricio' [EMAIL PROTECTED]; 'PHP' [EMAIL PROTECTED]
Sent: Tuesday, July 08, 2003 4:05 PM
Subject: RE: [PHP] Refresh PHP


 How about:

 if($_GET['url_variable'] != $url_variable){
$url_variable = $_GET['url_variable'];
session_register('url_variable')
 }


 -Original Message-
 From: Mauricio [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, July 08, 2003 11:14 AM
 To: PHP
 Subject: Re: [PHP] Refresh PHP

 Hello Ralph,

 Actually, after calling session_destroy() I reset those variables
 assigning
 an empty value like you said. But it still doesn't work. I did a test
 after
 destroying session variables, printing them. They are empty.

 Another weird thing is that when a login as joao them logoff,  exclude
 IE
 cache, going in Tools  Internet Option..., and login again with
 another
 user, this way the variable are printed correctly.

 It happens in any windows version (95,98,ME,2K,XP) using IE 6.0 and
 Netscape
 7.



 - Original Message -
 From: Ralph Guzman [EMAIL PROTECTED]
 To: 'Mauricio' [EMAIL PROTECTED]
 Sent: Tuesday, July 08, 2003 2:11 PM
 Subject: RE: [PHP] Refresh PHP


  Rather than using session_destroy() reset the session variable by
  assigning it an empty value. For example, lets say your url looks
  something like this:
 
  http://www.mydomain.com/?url_variable=Mauricio
 
  then do the following:
 
  if($_GET['url_variable'] != $url_variable){
 $url_variable = ;
 session_register('url_variable')
  }
 
 
  -Original Message-
  From: Mauricio [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, July 08, 2003 7:02 AM
  To: PHP
  Subject: [PHP] Refresh PHP
 
  Hi people!
 
  Did anyone get this situation?
 
  I'm creating a Site that uses 3 session variables. One of them I
 always
  print at the top of the page, it's the name of the user. There is a
 link
  that calls the function session_destroy(). Everytime that I follow
 this
  link
  and log in with another user, that session variable printed doesn't
  change,
  but if I press F5 in IE or Netscape them it brings the right user. I
  can't
  make the page return the current user login, it always came with the
  last
  user logged. I tried to add some headers to set no cache in all php
  pages,
  but it doesn't work.
 
  Anyone can help me???
 
  Thanks
 
  PS: Sorry about my poor english...
 
 
  Maurício Valente
 
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
 
 



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php