View previous topic :: View next topic |
Author |
Message |
hpskid -
Joined: 03 Jul 2004 Posts: 4
|
Posted: Sat Jul 03, 2004 2:35 am Post subject: PHP Sessions |
|
|
How do I enable sessions for PHP? I'm trying to use a PHP login script but it won't work because sessions have to be enabled. Thank you! |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sat Jul 03, 2004 2:06 pm Post subject: Re: PHP Sessions |
|
|
hpskid,
Open your php.ini file, locate the [Session] section, and fix the parameters there. You usually have only to fix the session.save_path value. For more information, please refer to the PHP manual. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
00squeaky -
Joined: 11 May 2004 Posts: 60
|
Posted: Thu Jul 08, 2004 9:01 am Post subject: |
|
|
id suggestg not using sessions, unless you have to have extreme security. just use things like cookies, and a database. in your users table, ad a column called active, with the values y & n. that way, if you have a cookie that tell if the user is logged in or not, you have something equal to sessions that isnt as tricky. _________________ Languages mastered:
HTML,GML,C,PHP,MYSQL (not really a language, but wtf) |
|
Back to top |
|
 |
|