Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 9th, 2006, 10:26 AM
Registered User
 
Join Date: Feb 2006
Location: London, , United Kingdom.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default logout

Hi,

When i run my logout.php script i am able to click the back button and refresh the browser in order to regain access to the previous session.

How can i stop this from happening?

thanks.

Nick

Patience, perseverance, persistence...yessss!!!!
 
Old February 10th, 2006, 02:01 PM
Authorized User
 
Join Date: Oct 2004
Location: Edinburgh, Scotland, United Kingdom.
Posts: 84
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to SiliconFuRy
Default

Try something liek this:
    <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">

Many shoes,

Jamez/SiliconFuRy
 
Old February 10th, 2006, 03:07 PM
Registered User
 
Join Date: Feb 2006
Location: London, , United Kingdom.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the reply Jamez, i'll give a go.

Cheers

Patience, perseverance, persistence...yessss!!!!
 
Old February 10th, 2006, 03:22 PM
Registered User
 
Join Date: Feb 2006
Location: London, , United Kingdom.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

All is well. My mistake. I forgot to include my authorization script. Wooops!

Thanks for your quick response.

Nick

Patience, perseverance, persistence...yessss!!!!




Similar Threads
Thread Thread Starter Forum Replies Last Post
Not able to logout urtrivedi Forum and Wrox.com Feedback 6 March 10th, 2008 12:52 PM
logout MunishBhatia ASP.NET 2.0 Professional 2 May 25th, 2007 02:52 AM
logout TIME and logout DATE crmpicco Classic ASP Databases 2 January 20th, 2005 12:01 AM
logout TIME and logout DATE crmpicco Classic ASP Basics 0 January 19th, 2005 07:57 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.