Hi
My new host has session.use_trans_sid set to 0 (Off) and I have place in my code that says
The variables $login and $passwd comes from form fields.
Then the page is redirected I use the following to see if there is a session available.
How do I get this to work again on my new host?
Thanks
Peter Larsen
My new host has session.use_trans_sid set to 0 (Off) and I have place in my code that says
Code:
<?
global $asess_name, $asess_passwd, $asess_data;
session_register("asess_name");
session_register("asess_passwd");
session_register("asess_data");
global $login, $passwd;
$asess_name = $login;
$asess_passwd = $passwd;
header("Location: ?".SID);
?>
The variables $login and $passwd comes from form fields.
Then the page is redirected I use the following to see if there is a session available.
Code:
if (!isset($HTTP_SESSION_VARS["asess_name"])) {
How do I get this to work again on my new host?
Thanks
Peter Larsen