Jump to content

Archived

This topic is now archived and is closed to further replies.

dragonusthei

Session ID

Recommended Posts

I made a login system that uses session ids to determin whos logged in etc but when cookies are off it just fails every single time. How do i make it so when cookies are turned off the session id is visible in there URL field and session ids are passed that way?

Share this post


Link to post
Share on other sites
<?php
session_start();
$_SESSION[sessionid] = session_id();
$_SESSION[username] = "dragonusthei";

echo "$_SESSION[sessionid] :: $_SESSION[username]";
?>

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.