By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,713 Members | 1,515 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,713 IT Pros & Developers. It's quick & easy.

session handling problems

P: n/a

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.


Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.