You are here: Re: Very unusual session handling problem. « PHP Programming Language « IT news, forums, messages
Re: Very unusual session handling problem.

Posted by R. Rajesh Jeba Anbiah on 01/09/07 14:50

David Gillen wrote:
> I'm setting sessions, with work where cookies are accepted. I've enabled trans
> session id so they should work where cookies aren't. And it seems to be
> working for parts of the site. Unforunately on certain pages it isn't picking
> up the PHPSESSID from the GET variable. To make matters worse, I'm doing some
> URL rewriting to convert
> /123/prod.html&PHPSESSID=12345 to prod.php?id=123&PHPSESSID=12345
>
> I'm really lots for avenues of approach to take here. Anyone come across a
> problem like this and how did you manage to solve it.

1. Are you sure that you can access $_GET['PHPSESSID']?
2. If so, could you post the phpinfo?
3. Try to add the following lines to the top of the page:
error_reporting(E_ALL);
ini_set('display_errors', 1);
session_start();

--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация