On 30 Aug., 15:34, Ruben Decleyn <[email protected]> wrote: > Ah > > i think you can use the session control for it > what i would do tho is have on top of the page something like > > <?php > if($_SESSION['uid']==0 or empty($_SESSION['uid']) > { > header("Location: login.php"); > > } >
Yes, but what if somebody bypasses my php application .... that is why I want the APE server to be able to protect itself from unauthorized use at the server side. > ?> > > ofc there are many ways to do that but that's the most basic imo. > while your at sessions you should look into > :http://www.ape-project.org/wiki/index.php/Tutorial:Using_sessions Yes, I will definitely use sessions to hold a few values while the user is online. /marie_dk -- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/
