Page 1 of 1

Using header()

Posted: Fri Jan 24, 2003 3:18 pm
by sooner
Hi,

I am new to PHP. I am using PHP/oracle to develop a microarray database web application.

When I use head() function to redirect the page, the session information can not pass. I tried to add "?something" to url, it works with pages without frames. But I use frames in my web pages. Is there any way to work around.

Thanks :?:

Posted: Mon Jan 27, 2003 11:54 am
by daven
at the top of your pages, put

Code: Select all

<?php
session_start();
?>
As long as you have the session variable registered properly (session_register()), this will work.