Using header()

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
sooner
Forum Newbie
Posts: 1
Joined: Fri Jan 24, 2003 3:18 pm

Using header()

Post 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 :?:
User avatar
daven
Forum Contributor
Posts: 332
Joined: Tue Dec 17, 2002 1:29 pm
Location: Gaithersburg, MD
Contact:

Post 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.
Post Reply