Re: [PHP] Newman Asks, Do i have to use session_name('sid') every ...
ROTFLMAO!!! "Tech Support" <[EMAIL PROTECTED]> wrote in message news:012501c23477$0bcc0db0$6500a8c0@speeddemon... > if ( eregi('^[php].*newman.*', $subject) && $docs == "unread") > move_mail_to_folder("deleted Items"); > > Jim Grill > Support > Web-1 Hosting > http://www.web-1hosting.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Newman Asks, Do i have to use session_name('sid') every...
on 25/07/02 5:43 PM, Philip J. Newman ([EMAIL PROTECTED]) wrote: > session_name('sid'); > session_start(); > > Do i have to use session_name('sid'); every time i use session_start(); or > can session_name be used once? *sigh* How about testing it on two pages? Or better still, LOOK IN THE MANUAL php.net/session_name CLEARLY states: " The session name references the session id in cookies and URLs. It should contain only alphanumeric characters; it should be short and descriptive (i.e. for users with enabled cookie warnings). The session name is reset to the default value stored in session.name at request startup time. Thus, you need to call session_name() for every request (and before session_start() or session_register() are called). " Justin French -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Newman Asks, Do i have to use session_name('sid') every...
http://crushme.clients.philipnz.com/crushweb.php?startWeb=guest_book&sid=63e 9864efec3df8d84455e9e7fdb39a2&PHPSESSID=810e806280e1f6e26a3d04fea3242766 sid = the session, and when session_name('sid'); it adds &PHPSESSID=810e806280e1f6e26a3d04fea3242766 to the url? whats up with that? - Original Message - From: "Richard Baskett" <[EMAIL PROTECTED]> To: "Philip J. Newman" <[EMAIL PROTECTED]>; "PHP General" <[EMAIL PROTECTED]> Sent: Thursday, July 25, 2002 7:50 PM Subject: Re: [PHP] Newman Asks, Do i have to use session_name('sid') every... > Just once when you first create the session. > > Rick > > This is the final test of a gentleman--his respect for those who can > be of no possible service to him. - William Lyon Phelps > > > From: "Philip J. Newman" <[EMAIL PROTECTED]> > > Date: Thu, 25 Jul 2002 19:43:23 +1200 > > To: <[EMAIL PROTECTED]> > > Subject: [PHP] Newman Asks, Do i have to use session_name('sid') every ... > > > > session_name('sid'); > > session_start(); > > > > Do i have to use session_name('sid'); every time i use session_start(); or > > can session_name be used once? > > > > --- > > Philip J. Newman. > > PhilipNZ.com Design Solutions > > http://www.philipnz.com/ > > [EMAIL PROTECTED] > > > > Mob: +64 (25) 6144012. > > Tele: +64 (25) 6144012. > > > > Personal Site: > > Philip J. Newman > > Internet Developer > > http://www.philipsdomain.com/ > > [EMAIL PROTECTED] > > > > > > > > > > -- > > 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 > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Newman Asks, Do i have to use session_name('sid') every...
Just once when you first create the session. Rick This is the final test of a gentleman--his respect for those who can be of no possible service to him. - William Lyon Phelps > From: "Philip J. Newman" <[EMAIL PROTECTED]> > Date: Thu, 25 Jul 2002 19:43:23 +1200 > To: <[EMAIL PROTECTED]> > Subject: [PHP] Newman Asks, Do i have to use session_name('sid') every ... > > session_name('sid'); > session_start(); > > Do i have to use session_name('sid'); every time i use session_start(); or > can session_name be used once? > > --- > Philip J. Newman. > PhilipNZ.com Design Solutions > http://www.philipnz.com/ > [EMAIL PROTECTED] > > Mob: +64 (25) 6144012. > Tele: +64 (25) 6144012. > > Personal Site: > Philip J. Newman > Internet Developer > http://www.philipsdomain.com/ > [EMAIL PROTECTED] > > > > > -- > 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