Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
Hi
I am using DreamWeaver 8, php 5, and Xitami Web Server to run my scripts.
I tried to use session_regenerate_id() on a logout.php, it look as below:Code: Select all
<?php
session_start();
setcookie("SessionON", false, time()-3000);
session_unset();
session_destroy();
session_regenerate_id();
?>
<html>
<head>
<meta http-equiv="refresh" content="0;url=index.php">
</head>
</html>I'm not sure where the problem lies, the IDE? or the PHP?
Hope the dev community can help me out, thanks.
feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]