#18752 [NEW]: PHP stops embeding the session id into URLs after calling virtual() :-(
| From: | evgen at unicon dot ru | Date: | Tue, 06 Aug 2002 11:14:45 +0000 |
| Subject: | #18752 [NEW]: PHP stops embeding the session id into URLs after calling virtual() :-( | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-16065@lists.php.net to get a copy of this message | ||
From: evgen@unicon.ru
Operating system: FeeBSD 4.6.1-release-p8
PHP version: 4.2.2
PHP Bug Type: Session related
Bug description: PHP stops embeding the session id into URLs after calling virtual() :-(
PHP stops embeding the session id into URLs after calling virtual().
Example (switch off your cookies):
--------------------------------------
session_start();
session_register('count');
$count++;
echo $count."<br>";
<A HREF="example.php">link 1</A>
<?virtual("/virtual.html");?>
<A HREF="example.php">link 2</A>
---------------------------------------
First link will be example.php?PHPSESSID=7a85d47f8d5e7c96c579
but second link will be only example.php
If you comment virtual("/virtual.html") everithing will go on fine.
--
Edit bug report at http://bugs.php.net/?id=18752&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18752&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18752&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18752&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18752&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18752&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18752&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18752&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18752&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18752&r=globals