Hi,

It may be a cache issue too. You can also try this to prevent caching  
the page:

<?php
// Date in the past
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");

// always modified
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");

// HTTP/1.1
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);

// HTTP/1.0
header("Pragma: no-cache");
?>

Mike
-- 
Mike Brandonisio               *    IT Planning & Support
Tech One Illustration          *    Database Applications
tel (630) 759-9283             *    e-Commerce
mailto: [EMAIL PROTECTED]    *    http://www.techone.org/

On Jun 10, 2005, at 8:50 AM, Marian Briones wrote:

> Hi gang
>
> I have a site that I am working on with a member login feature and
> from what I understandof sessions, it's almost like being able to
> carry around a hidden variable from page to page as long as we know
> there is an active session, and declaring the session variable as okay
> to view that page (they've loggedin).
>
> So, I wrote a logout script that has session_unset();
>
> I used my back button, expecting the previous page to give me the
> 'you're not supposed to see this unless you're logged in' error but  
> NO.
>
> What am I doing wrong here?  Is there a way to see if I am truly
> killing the session?
>
> (ugh)
>
> Thank you
>
> Marian
>
>
>
>
> Community email addresses:
>   Post message: [email protected]
>   Subscribe:    [EMAIL PROTECTED]
>   Unsubscribe:  [EMAIL PROTECTED]
>   List owner:   [EMAIL PROTECTED]
>
> Shortcut URL to this page:
>   http://groups.yahoo.com/group/php-list
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
>



Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to