Reply to Re: New to PHP and sessions and have a problem...

Your name:

Reply:


Posted by ZeldorBlat on 10/10/37 11:39

Bongo wrote:
> Hi there,
>
> I am very new to the world of php and anything dynamic...
>
> I have created a session and a logout button...
>
> when I logout and then press the back button far enough to where I
> logged in... it logs in again. Even when I destroyed the session...
>
> Anyone have any ideas what I am doing wrong?
>
>
> Bongo

Nothing. I'm guessing you have some login form which checks the
username and password somehow. When you push the back button enough
times, you eventually get to that page. The browser re-posts the
login/password (it might give you a warning about this) to the form and
you are logged in again, session created.

Re-submission of form data when using the back or refresh button is a
common problem in web-based applications. There are a lot of ways to
deal with it, and you'll find plenty of newsgroup threads on the topic.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация