PHP Sessions

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
hpskid
-


Joined: 03 Jul 2004
Posts: 4

PostPosted: Sat Jul 03, 2004 2:35 am    Post subject: PHP Sessions Reply with quote

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 View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sat Jul 03, 2004 2:06 pm    Post subject: Re: PHP Sessions Reply with quote

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 View user's profile Send private message Send e-mail
00squeaky
-


Joined: 11 May 2004
Posts: 60

PostPosted: Thu Jul 08, 2004 9:01 am    Post subject: Reply with quote

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 View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group