Okay so. The idea is you have to be logged in to have access to see the content of the page.
I tried using sessions but that doesn't work in WML so it seems. Is there anyone who can help me out? Who has dealt with this situation? Maybe used cookies?
here a small piece of code that didn't work:
<?php
session_start();
session_register("IsRegistered");
...
if ( IsCurrentPassword($InputPas) ) {
$IsRegistered="true";
printf('<card title="Logged in" ontimer="menu.php?">
<timer value="10"/>
<p>Correct password.</p>
<p>opening page...</p>
</card>');
}
else {
// input form
}
...
?>