Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "J.O. Aho" Newsgroups: comp.lang.php Subject: Re: Php login/registration page Date: Wed, 01 Oct 2014 06:51:15 +0200 Lines: 28 Message-ID: References: <844d52dc-57de-48bc-8d61-ef12d7696389@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net /63tbyajnqTV2f2PSYmpEAgLiDGvyrSvA1rb6sWqe86Pg33eij Cancel-Lock: sha1:QgSbsgzpsB+E1wd/FqqAxhGC1oQ= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 In-Reply-To: Xref: csiph.com comp.lang.php:14260 On 01/10/14 05:33, Richard Damon wrote: > On 9/30/14, 8:55 PM, Jerry Stuckle wrote: >> On 9/30/2014 7:04 PM, Apple Sizat wrote: >>> Can anyone explain how i can create a registration and login page >>> using PHP that doesnt use databases, sessions, or cookies? >>> >>> Is there a tutorial someone can point me to or could anyone tell me >>> the method. Thanks >>> >> >> You can do it not using a database (i.e. use a flat file). But if you >> don't use cookies and/or sessions, the login will only be active for the >> current request. It will be forgotten as soon as the PHP script ends >> (which is before the last data is sent to the client). >> > > You could add a token to every URL link to leave the page to go to the > next page, that provides storage for the login information, as long as > the user navigates via links on your pages. > > This could be seen as a version of a "poor mans" session (implementing > by hand what session code can take care of automatically). And session easy to hijack. -- //Aho