View Single Post
  #2 (permalink)  
Old April 26th, 2005, 05:19 PM
richard.york's Avatar
richard.york richard.york is offline
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Camby, IN, USA.
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

Quote:
quote:
This is really pissing me off now!
Not the best way to solicit help from the community.

The book does have a forum:
http://p2p.wrox.com/book-asp-net-website-programming-problem-design-solution-23/0 (PHP 4 Book)
http://p2p.wrox.com/forum.asp?FORUM_ID=157 (PHP 5 Book)

Troubleshooting Sessions:
Did you restart Apache after setting the session.save_path directive?

Can you verify that session files are being created at C:\temp?

What about the session id, are you passing the session id via a URL or via cookies?

Are cookies enabled in your browser?

Can you verify that a session cookie is being created by your browser (find the raw cookie file for your domain)?

Does the cookie file have the session id in it?

Do you have a firewall enabled (sometimes a firewall can cause conflicts with the session cookie)?

Do you have error_reporting activated (error_reporting = E_ALL in php.ini)?

Are errors being logged (log_errors = off in php.ini)?

Are errors being displayed (display_errors = on in php.ini)?

As you can see lots of things can be misconfigured and cause you to miss out on error information, or cause your sessions to fail.

Finally, since not everyone has the book, post relevant snips of code, so we can see what you're working with.

Regards,
Rich

--
[http://www.smilingsouls.net]
Mail_IMAP: A PHP/C-Client/PEAR solution for webmail
Author: Beginning CSS: Cascading Style Sheets For Web Design
Reply With Quote