Re: Session in URL

From: Date: Wed, 16 Mar 2005 19:22:59 +0000
Subject: Re: Session in URL
Groups: php.db 
Request: Send a blank email to php-db+get-38932@lists.php.net to get a copy of this message
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

« previous php.db (#38932) next »