Re: [PHP] session_id() is not passed to the next page

2011-01-04 Thread Daniel Molina Wegener
On Tuesday 04 January 2011, Michelle Konzack wrote: > Hello, Hello... > > I am rewriting currently a login script and I encountered a problem with > sessions. While reading the two pages > > >

Re: [PHP] session_id() is not passed to the next page

2011-01-03 Thread Adam Richardson
On Mon, Jan 3, 2011 at 11:46 PM, Michelle Konzack < linux4miche...@tamay-dogan.net> wrote: > ... >session_register('sess_user'); >session_register('sess_timeout'); >$sess_user= $user; >$sess_timeout = time() + 900; >session_write_close(); >header("Location: " . $redirec

Re: [PHP] Session_id within URL

2006-04-11 Thread Louie Miranda
I also use those sessions when checking on the apache logs. For a specific user, so i can trace what he did. On 4/12/06, Richard Lynch <[EMAIL PROTECTED]> wrote: > > On Tue, April 11, 2006 12:40 pm, Alain Roger wrote: > > I would like to understand the purpose of placing SESSION_ID within > > the

Re: [PHP] Session_id within URL

2006-04-11 Thread Richard Lynch
On Tue, April 11, 2006 12:40 pm, Alain Roger wrote: > I would like to understand the purpose of placing SESSION_ID within > the URL. > I suppose it is for security improving... However, how to do it ? > > i mean how can it be useful ? how can i use it ? Actually, unless you are using SSL (https://

Re: [PHP] Session_id within URL

2006-04-11 Thread Brad Bonkoski
session_start(); $s = SID; //get Session ID echo "Page"; Mostly for passing the session as a GET variable to another page, like for anything from authentication tokens to form data etc... Of course for form data it would probably be better to encapsulate the session veriables within the form.

Re: [PHP] session_id and cookie settings

2004-03-02 Thread Chris Shiflett
--- Torsten <[EMAIL PROTECTED]> wrote: > when I destroy my session and reload my index.php. I get the same > session_id() that was just destroyed before. I've checked it after > session_destroy() with echo session(); The function returned no value > anymore. But as I said, when starting a new sessi

Re: [PHP] session_id database

2002-03-08 Thread Erik Price
On Friday, March 8, 2002, at 01:12 PM, mailing list wrote: > I am new to PHP so please excuse my ignorance. I want to manage and > create session id's for my shopping cart with a MySQL database. I > have a > database with a session_id column that is auto-increminting. Is there > any > exam

RE: [PHP] session_id()

2002-02-12 Thread Johnson, Kirk
SID is defined on the *first* page request. It is only defined on later requests *if* cookies are disabled in the browser. Kirk > -Original Message- > From: Pax [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 12, 2002 1:54 PM > To: [EMAIL PROTECTED] > Subject: [PHP] session_id() >

Re: [PHP] session_id()

2002-02-12 Thread Erik Price
On Tuesday, February 12, 2002, at 03:53 PM, Pax wrote: Try "get_defined_constants()" to see what's in your constants array. > $sid_value="&" .SID; > header("location:index.php?error_message=$message$sid_value > > I get the following url: > http://localhost/index.php?error_message=message+goes+

Re: [PHP] session_id()

2001-12-07 Thread Scott Houseman
This is most probably because PHP sessions use browser cookies to store data - thus each browser would have a different session id, as they all store their cookies in separate locations on your PC's hard drive. Regards -- Scott - Original Message - From: "Gede Gilijk" <[EMAIL PROTECTED]