Re: [php-49] Login Question Version 2

From: Jd D.
Sent on: Thursday, August 9, 2012 3:04 PM
Yah like I said, after you query the database for an existing user, you can assign
their information like name, created on date, birthday, username, etc to sessions,
which then would be available everywhere, anytime.

On Thu, Aug 9, 2012 at 2:51 PM, Joe <[address removed]> wrote:
Thanks to those who've given pointers, so far.

I think that I probably should not have used the word session, initially.  By session, I meant was the user active (did they have an active cookie).  My understanding is that sessions are an alternative to cookies??

What I'm trying to understand is how to transfer a user's id information between pages. 

I will look at the tutorial that Jd Daniel suggested as well as the group wiki, since this is, obviously, new territory for me.

What I've gotten so far from the discussion is that people seem to (1) be suggesting the use of cookies (or sessions?) to store and then retrieve the user id (which people are calling sessionId) information between pages or (2) store the sessionId in a database.

Thanks for your assistance.

Sincerely,

Joe Chambley




--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Joe ([address removed]) from The Seattle PHP Meetup Group.
To learn more about Joe , visit his/her member profile
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, PO Box 4668 #37895 New York, New York[masked] | [address removed]



--
Jd Daniel
Server Side Developer
7901 Delridge Way SW #36D, Seattle

C.        [masked]


Our Sponsors

  • TUNE

    Meeting space and food

  • PluralSight

    PluralSight subscriptions for developer training

  • Siteground

    Information coming Soon

  • O'Reilly

    Disc Code: PCBW is good for 40% off print and 50% off ebooks and videos

  • JetBrains PhpStorm

    Occasional free licenses to raffle off at meetups

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy