Sponsored by NuSphere - PHP Software for PHP Application Developers - On Sale This Week for $100



Go Back   PHP-Editors > Programming Help > PHP Programming Help

PHP Programming Help Post any question relating to PHP Programming here and hopefully someone can help.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2003-04-06, 08:15 PM
Junior Member
 
Join Date: Apr 2003
Posts: 24
Toji Moreau
Default

I am thinking of simply using cookies or URL-attached SIDs to do it, is that enough? Any suggestion?
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 2003-04-06, 09:05 PM
Member
 
Join Date: Apr 2003
Location: Netherlands
Posts: 40
jorgen
Send a message via MSN to jorgen
Default

Just use sessions, they're perfect for creating a multiple user system. BTW, if I were you, I'd join the expert contest, less time programming and designing. Just grab paper and pen and think logic for a minute of ten...
Reply With Quote
  #3 (permalink)  
Old 2003-04-08, 09:04 AM
Junior Member
 
Join Date: Apr 2003
Posts: 24
Toji Moreau
Default

Quote:
Just use sessions, they're perfect for creating a multiple user system. BTW, if I were you, I'd join the expert contest, less time programming and designing. Just grab paper and pen and think logic for a minute of ten...
Yeah, but I need to reinforce my learned PHP knowledge. Honestly, I've learned a lot quite in a short period of time since I'm meeting a deadline. It's all good.
Reply With Quote
  #4 (permalink)  
Old 2003-04-17, 06:41 PM
Junior Member
 
Join Date: Mar 2003
Posts: 22
jassh
Default

i totally agree on the session thingy...
it's definately the most effective and recomended for a multi user apps

cookie..
well, thru my research in completing my contest submission,
i found out that,
you'll have problem if cookie (yumm) is disabled in the browser..
or the browser has some sort of high security settings..

i would stick to session,
link it to, say... 'user_id'.. so you can always fetch the value anywhere
example, in you DB Query..
and session are also safe in term of security,
like for instance, used in checking credentials.. and permission..

and as for the expert vs. beginner contest..
although i love problem solving (maybe that is why i'm a CSI junkie)
personally, i entered the beginner contest,
and it's bcoz i just learned php...
maybe after i'm php matured..
the expert contest would make sense..

just an opinion though..

have a nice day y'all..

cheers;
- jassh
Reply With Quote
  #5 (permalink)  
Old 2003-05-09, 11:13 AM
Junior Member
 
Join Date: May 2003
Posts: 3
ctiberg
Default

To my knowledge, sessions use cookies to store the session id in the clients browser.. So no cookies=no sessions.. The distinction is moot... Sessions are OK for temporary things, cookies for the info you want to survive the user closing their browser, like a persistent shopping cart.
__________________
Have a nice day,
Christian Tiberg
Reply With Quote
Must read Review for Serious PHP Developers


NuSphere PhpED 5.0 : The Staff of php-editors.com recently spent a few days working with NuSphere PhpED 5.0 (a popular PHP IDE) and NuCoder 1.4 (a PHP Encoding Utility), read up on all the details.

Sponsored Links
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:56 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© Copyright 2003-2008 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.