Current location: Hot Scripts Forums » Programming Languages » PHP » php sessions


php sessions

Reply
  #21 (permalink)  
Old 06-12-03, 12:01 AM
amailer's Avatar
amailer amailer is offline
_-*^# PHP Master #^*-_
 
Join Date: Jun 2003
Location: Canada
Posts: 237
Thanks: 0
Thanked 0 Times in 0 Posts
i think he wanted a login, so that is a VERY not secure login, but it works still
__________________
Amailer - Spam/Advertise/Have fun
Reply With Quote
  #22 (permalink)  
Old 06-12-03, 06:59 AM
Cagez's Avatar
Cagez Cagez is offline
Eeew, dirty!
 
Join Date: Jun 2003
Location: Toronto, Ontario
Posts: 88
Thanks: 0
Thanked 0 Times in 0 Posts
The only problem with your script burningr was you weren't setting the session variables to anything, so when you were testing them to be 'isset' they returned false because they were unset. Simply giving a value to them would have solved your problem.
Reply With Quote
  #23 (permalink)  
Old 06-12-03, 07:07 AM
digitalsea's Avatar
digitalsea digitalsea is offline
Newbie Coder
 
Join Date: Jun 2003
Location: USA
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Have you tried looking under PHP > Scripts and Programs > User Authentication.

Those scripts do the same thing - block out content unless a session is opened or they see a cookie.

I know of a script in Perl that also does the same thing you want to do....
__________________
- digitalsea
http://www.digital-sea.com/
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP and MySQL ? rob2132 Hot Scripts Forum Questions, Suggestions and Feedback 4 08-29-08 02:22 AM
PHP Dudes - Hi All stuart New Members & Introductions 4 05-03-04 01:22 PM
Custom PHP Scripts BdSBB Job Offers & Assistance 3 12-07-03 09:49 AM
PHP Triad/Upload form eddyvlad PHP 6 10-06-03 11:17 PM
PHP & sessions, why won't it work? TinnyFusion PHP 1 10-04-03 01:51 PM


All times are GMT -5. The time now is 05:35 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.