Oh, hab nicht genau gelesen, muss mich korrigieren. Wenn du sie in die URL haben willst, geht das so:
Vorraussetzungen: $PHP_SESSID ist gesetzt
<html>
<head>
<title>LOGIN</title>
</head>
<body>
<?
@session_start();
session_register();
?>
<form action="/home/index2.php?PHP_SESSID=<?=$PHP_SESSID?>" method="post">
<table border=0 cellspacing=0 cellpadding=0>
<tr>
<td>Username:</td>
<td><input type="text" name="username"></td>
</tr>
<tr>
<td>Passwort:</td>
<td><input type="password" name="pwd"></td>
</tr>
</table>
</form>
</body>
</html>
bzw. die sauberere und PHP3-Methode:
<html>
<head>
<title>LOGIN</title>
</head>
<body>
<?
@session_start();
session_register();
?>
<form action="/home/index2.php?PHP_SESSID=<?php print $PHP_SESSID;?>" method="post">
<table border=0 cellspacing=0 cellpadding=0>
<tr>
<td>Username:</td>
<td><input type="text" name="username"></td>
</tr>
<tr>
<td>Passwort:</td>
<td><input type="password" name="pwd"></td>
</tr>
</table>
</form>
</body>
</html>
Grüße von hier drinnen, aus Biberach an der Riss,
Dogfish