session handling problems

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!


I have been trying to figure out a way to use session handling without
making users have cookies enabled.
I was told that if I set session.use_trans_sid to 1 then that should
do it.

I don't use links in my code at all except for the next and previous
buttons most of the site is traversed by calling functions.

Anyway I just enabled like above restarted apache but now I get this

suv: Object
Survey object is set in the session variable suv
The usrs current question number will be:

Fatal error: Unknown(): The script tried to execute a method or access a
property of an incomplete object. Please ensure that the class definition
<b>survey</b> of the object you are trying to operate on was loaded
_before_ the session was started in
/srv/www/htdocs/Survey/processTrans.php on line 50

Now all my pages still have session_start at the beginning since
I am using URL rewriting do I need this. I was told in an earlier post
that I don't since I am mostly just calling functions anyway.

Hope you can help.



Site Timeline