Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules
Author Message
ethana
Hangin' Around



Joined: Jan 05, 2006
Posts: 32
Location: Phoenix, AZ

PostPosted: Mon Feb 06, 2006 10:12 pm Reply with quote

Hey there, question on sessios in nuke. Writing my own little shopping cart and wanted to use sessions to accomplish this. I see throughout the files that the only place that has "session_start" is in the following:

includes/sessions.php
modules/Forums/admin/index.php
modules/Private_Messages/index.php
update_patches_etc/sql/nuke.sql
update_patches_etc/upgrades/6.x/upgrade60-65.php



"session_start" needs to be stated before any other output. Is there a standard way to handling sessions in nuke that im not aware of? Any comments would be helpful. Thanks all.

_________________
"Who the h*ll does the QA team think they are telling me im not meeting requirements?!?" 
View user's profile Send private message
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Mon Feb 06, 2006 10:44 pm Reply with quote

session_start is a standard function in PHP
Read up on sessions at http://us3.php.net/manual/en/ref.session.php

_________________
- Only registered users can see links on this board! Get registered or login! -

Need help? Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
ethana







PostPosted: Mon Feb 06, 2006 10:50 pm Reply with quote

Yes, this i know, but it needs to be the first thing outputted. Writing it in my module wont work because im assuming that the framework is already outtputting data back to the client browser. If im mistaken then id be pleased to use it Smile
 
evaders99







PostPosted: Tue Feb 07, 2006 8:33 am Reply with quote

I'm not sure what you mean. Nothing is outputted to the client until you explicitly do so.. either using include("header.php"); or echo
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules

View next topic
View previous topic
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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©