Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #14260

Re: Php login/registration page

From "J.O. Aho" <user@example.net>
Newsgroups comp.lang.php
Subject Re: Php login/registration page
Date 2014-10-01 06:51 +0200
Message-ID <c91fhjFcehpU1@mid.individual.net> (permalink)
References <844d52dc-57de-48bc-8d61-ef12d7696389@googlegroups.com> <m0fjdl$64d$1@dont-email.me> <ECKWv.296304$Q61.224596@fx13.iad>

Show all headers | View raw


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

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Php login/registration page Apple Sizat <afor6993@gmail.com> - 2014-09-30 16:04 -0700
  Re: Php login/registration page Jerry Stuckle <jstucklex@attglobal.net> - 2014-09-30 20:55 -0400
    Re: Php login/registration page Richard Damon <Richard@Damon-Family.org> - 2014-09-30 23:33 -0400
      Re: Php login/registration page "J.O. Aho" <user@example.net> - 2014-10-01 06:51 +0200
      Re: Php login/registration page Jerry Stuckle <jstucklex@attglobal.net> - 2014-10-01 08:13 -0400
        Re: Php login/registration page Richard Damon <Richard@Damon-Family.org> - 2014-10-01 22:37 -0400
        Re: Php login/registration page GS <nomail@nospam.org.invalid> - 2014-10-03 01:38 +0000
          Re: Php login/registration page Jerry Stuckle <jstucklex@attglobal.net> - 2014-10-02 21:43 -0400
          Re: Php login/registration page Denis McMahon <denismfmcmahon@gmail.com> - 2014-10-03 03:29 +0000
            Re: Php login/registration page Matthew Carter <m@ahungry.com> - 2014-10-03 00:24 -0400
              Re: Php login/registration page Denis McMahon <denismfmcmahon@gmail.com> - 2014-10-03 18:33 +0000
                Re: Php login/registration page Matthew Carter <m@ahungry.com> - 2014-10-03 16:16 -0400
                Re: Php login/registration page Ed Mullen <ejEVOMER@edmullen.net> - 2014-10-03 18:24 -0500
                Re: Php login/registration page Jerry Stuckle <jstucklex@attglobal.net> - 2014-10-03 20:37 -0400
  Re: Php login/registration page Michael Vilain <vilain@NOspamcop.net> - 2014-09-30 18:38 -0700
  Re: Php login/registration page gordonb.opkrz@burditt.org (Gordon Burditt) - 2014-09-30 21:08 -0500

csiph-web