Jump to content

[SOLVED] SESSION question


aliento

Recommended Posts

I am building an application , a directory for auctions.

For SEO i made a script which copies a php file to all the directories paths that it creates.

I made it work and into all the php files into each directory it includes the base file which shows the code with some variables to recognize the file.

Its time now to make the user access and make the sessions.

I read that session_start(); should be at the top of the code but this means that should change all the files in all directories.

Can i put the session_start(); at the header.php of my script will it work or should i put it onto every php file at the top?

Thank you

Link to comment
https://forums.phpfreaks.com/topic/182382-solved-session-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.