session related query

2010-06-04 Thread vikasphplernter
hai all
I have facing the problem of session management because once I delete
or destroy the session in logout page so it will redirect the index
page and this process is correct but once I click the back button of
the browser it open the welcome page with login the user and there the
previous user name also be presented. So please tell me how I create
the logout page and destroy the session.

its urgent..
thanking you

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: session related query

2010-06-04 Thread calvin
That's a browser caching problem. You can use the pragma, cache-
control, and expires headers: 
http://book.cakephp.org/view/350/Obtaining-Request-Information

If you use all 3, then that should prevent most standards-compliant
browsers (and IE5 and later) from caching the page.

On Jun 4, 12:26 am, vikasphplernter chipheardwe...@gmail.com wrote:
 hai all
 I have facing the problem of session management because once I delete
 or destroy the session in logout page so it will redirect the index
 page and this process is correct but once I click the back button of
 the browser it open the welcome page with login the user and there the
 previous user name also be presented. So please tell me how I create
 the logout page and destroy the session.

 its urgent..
 thanking you

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en