Jump to content


Photo

Help, please.


  • Please log in to reply
1 reply to this topic

#1 MarConnor

MarConnor
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 28 February 2006 - 01:51 PM

Hello.
I have a small question.
If I include:

session_start();

Inside a required/included file, will the file that it's included into start the session?

#2 loki_racer

loki_racer
  • Members
  • Pip
  • Newbie
  • 3 posts

Posted 28 February 2006 - 04:49 PM

If you have a file called include.php that has

<?
session_start();
?>

and a page called index.php that has

<?
include('include.php');
?>

Then the session would be started by index.php
Chris Thompson
www.thompsonbd.com

"It's time to roll the dice."




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users