Re: [PHP] how to kill session id without closing the window?

2006-04-09 Thread afan
Yup! That works perfect!

Thanks Tedd

:)


-afan



 At 9:19 PM +0200 4/6/06, [EMAIL PROTECTED] wrote:
Hi to all,

session_start();
$_SESSION['sessid'] = session_id;

echo $_SESSION['sessid']; will show e.g. 699e506bd42ea402985dce24a0ef9

After:

unset($_SESSION['sessid']);

$_SESSION['sessid'] = session_id();

I'm getting the same SID again.

I tried with session_unregister() and session_destroy() but same result.

How can I create new, other sesssion id (after I, for example, click on
'Log Out' button) without closing window?

Thanks for any help.


 Look up:

 http://www.weberdev.com/session_regenerate_id

 HTH's

 tedd


 --
 
 http://sperling.com

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] how to kill session id without closing the window?

2006-04-07 Thread rich gray

[chop]

How can I create new, other sesssion id (after I, for example, click on
'Log Out' button) without closing window?

Thanks for any help.

  

er .. session_regenerate_id()

hth
rich

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] how to kill session id without closing the window?

2006-04-07 Thread tedd

At 9:19 PM +0200 4/6/06, [EMAIL PROTECTED] wrote:

Hi to all,

session_start();
$_SESSION['sessid'] = session_id;

echo $_SESSION['sessid']; will show e.g. 699e506bd42ea402985dce24a0ef9

After:

unset($_SESSION['sessid']);

$_SESSION['sessid'] = session_id();

I'm getting the same SID again.

I tried with session_unregister() and session_destroy() but same result.

How can I create new, other sesssion id (after I, for example, click on
'Log Out' button) without closing window?

Thanks for any help.



Look up:

http://www.weberdev.com/session_regenerate_id

HTH's

tedd


--

http://sperling.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] how to kill session id without closing the window?

2006-04-06 Thread afan
Hi to all,

session_start();
$_SESSION['sessid'] = session_id;

echo $_SESSION['sessid']; will show e.g. 699e506bd42ea402985dce24a0ef9

After:

unset($_SESSION['sessid']);

$_SESSION['sessid'] = session_id();

I'm getting the same SID again.

I tried with session_unregister() and session_destroy() but same result.

How can I create new, other sesssion id (after I, for example, click on
'Log Out' button) without closing window?

Thanks for any help.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] how to kill session id without closing the window?

2006-04-06 Thread Chris

[EMAIL PROTECTED] wrote:

Hi to all,

session_start();
$_SESSION['sessid'] = session_id;

echo $_SESSION['sessid']; will show e.g. 699e506bd42ea402985dce24a0ef9

After:

unset($_SESSION['sessid']);

$_SESSION['sessid'] = session_id();

I'm getting the same SID again.

I tried with session_unregister() and session_destroy() but same result.

How can I create new, other sesssion id (after I, for example, click on
'Log Out' button) without closing window?


http://www.php.net/session_regenerate_id

Start a new thread! Stop replying to old messages with new subjects!

--
Postgresql  php tutorials
http://www.designmagick.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php