Re: - Session in URL - wrong list
| From: | Mignon Hunter | Date: | Wed, 16 Mar 2005 19:38:04 +0000 |
| Subject: | Re: - Session in URL - wrong list | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-38935@lists.php.net to get a copy of this message | ||
Sorry
I posted this to wrong list - meant to send to general...should I re-post or no.
*****************************************
Hello
I have tested this app on my machine but it doesnt do this - but when testing on development server,
my script is displaying the session in the url. I was reading in man about session.use_only_cookies
can keep this from happening but the dev server has php 4.1.2
Is there another way to stop this?
My script is such:
while($row = mysql_fetch_row($res))
{
echo "<li><a href =
sess_downloads_p2.php?$row[0]>$row[1]</a></li>";
}
where $row[0] is a filename like filename.pdf
But when sess_download_p2.php loads in browser the URL has ...&PHPSESSID=(rand number)
Thanks for any help