Re: [PHP] using sessions instead of cookie

2006-01-21 Thread tedd
I have never used sessions before. How do I change the follow from COOKIES to SESSIONS in php (I do not know how to set a session)... tedd -- http://sperling.com/ -- PHP General Mailing List (http://www.php.net

[PHP] using sessions instead of cookie

2006-01-21 Thread Ross
I have never used sessions before. How do I change the follow from COOKIES to SESSIONS in php (I do not know how to set a session)... At present the script uses an iframe with cookies but I believe if I use sessions I can leave out the iframe. http://www.ecurry.net/menu.phps http://www.ecurr

Re: [PHP] Using sessions with register globals off

2004-02-04 Thread Matt Matijevich
Assuming there's a preceding page that has created the session 'name' and registered the var 'order' with the 'name' session. session_name('name'); session_register('order'); Try $_SESSION['order'] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/un

[PHP] Using sessions with register globals off

2004-02-04 Thread Randall Perry
I've looked through the docs and past posts but I'm still a bit confused. How do I translate the following into code that can be used with register_globals set off. Assuming there's a preceding page that has created the session 'name' and registered the var 'order' with the 'name' session. sessi

RE: [PHP] using SESSIONS to store page 2 page variables

2003-07-28 Thread Ow Mun Heng
ubject: Re: [PHP] using SESSIONS to store page 2 page variables No problem, but remember the user might want to bookmark the page. Ow Mun Heng wrote: > Hi, > > Is it advisable to use SESSIONS to store variable from one page to > another page instead of using something like a

Re: [PHP] using SESSIONS to store page 2 page variables

2003-07-28 Thread Marek Kilimajer
No problem, but remember the user might want to bookmark the page. Ow Mun Heng wrote: Hi, Is it advisable to use SESSIONS to store variable from one page to another page instead of using something like a hidden field? eg: $_SESSION['sql_sort_cat'] $_SESSIOn['sql_sort_dir'] instead of

[PHP] using SESSIONS to store page 2 page variables

2003-07-28 Thread Ow Mun Heng
Hi, Is it advisable to use SESSIONS to store variable from one page to another page instead of using something like a hidden field? eg: $_SESSION['sql_sort_cat'] $_SESSIOn['sql_sort_dir'] instead of > Cheers, Mun Heng, Ow H/M Engineering Western Digital M'sia DID : 03-7870 5168 --

Re: [PHP] Using Sessions under Win98/Apache

2002-05-16 Thread Edward Marczak
On 5/16/02 5:17 AM, "Neil Freeman" <[EMAIL PROTECTED]> wrote: > FYI... > > I'm using sessions successfully using PHP v4.1.0 on Windows NT. Hurmph. Well, the upgrade to 4.2.x did it for me under 98. I just need to check the rest of my code, though. For now, seems pretty harmless. Thanks, tho

Re: [PHP] Using Sessions under Win98/Apache

2002-05-16 Thread Neil Freeman
FYI... I'm using sessions successfully using PHP v4.1.0 on Windows NT. Neil Edward Marczak wrote: > > >* > This Message Was Virus Checked With : SAVI 3.57 May 2002 Last Updated 13th May

Re: [PHP] Using Sessions under Win98/Apache

2002-05-15 Thread Edward Marczak
On 5/15/02 4:30 PM, "SHEETS,JASON (Non-HP-Boise,ex1)" [EMAIL PROTECTED] pressed the keys forming the message: > Sessions under windows were broken for 4.1.x > > They were fixed in 4.2.x so you should upgrade. Great - a definitive answer. Thank you. I'll just have to make note of the differenc

Re: [PHP] Using Sessions under Win98/Apache

2002-05-15 Thread Edward Marczak
On 5/15/02 3:47 PM, "1LT John W. Holmes" [EMAIL PROTECTED] pressed the keys forming the message: > I'm not sure what it could be then. If you try a simple test script, doing > nothing but starting a session and setting a value, does it work? No. > If that still doesn't work, then definitely upg

Re: [PHP] Using Sessions under Win98/Apache

2002-05-15 Thread Edward Marczak
On 5/15/02 2:21 PM, "1LT John W. Holmes" [EMAIL PROTECTED] pressed the keys forming the message: > You probably want to get 4.2, or 4.2.1 if it's out. Didn't think those were considered production quality just yet. > How are you registering variables for the session? Is register_globals on or >

Re: [PHP] Using Sessions under Win98/Apache

2002-05-15 Thread 1LT John W. Holmes
MAIL PROTECTED]> Sent: Wednesday, May 15, 2002 12:04 PM Subject: [PHP] Using Sessions under Win98/Apache > I've been developing a PHP driven site that will ultimately run under > Solaris and Linux - no problems there. > > But I set up a small development/test environment on my lapt

[PHP] Using Sessions under Win98/Apache

2002-05-15 Thread Edward Marczak
I've been developing a PHP driven site that will ultimately run under Solaris and Linux - no problems there. But I set up a small development/test environment on my laptop running Win98. Downloaded the PHP binary (v 4.1.2) along with Apache (v 1.3.24) and MySQL. Everything works greatalmost

RE: [PHP] Using sessions

2002-02-25 Thread Kevin Stone
Just a guess but would using session_register(myvar); instead of registering directly to the global list make any difference? -Original Message- From: Joel Alexandre [mailto:[EMAIL PROTECTED]] Sent: Monday, February 25, 2002 9:39 AM To: Lista de PHP Subject: [PHP] Using sessions i&#

[PHP] Using sessions

2002-02-25 Thread Joel Alexandre
i'm having some trouble using sessions. first of all i have to use php 4.0.6. When i use $HTTP_SESSION_VARS, the session variable isn't being saved. for example: if(!isset($HTTP_SESSION_VARS['id'])){ $HTTP_SESSION_VARS['id'] = 0; } else{ $HTTP_SESSION_VARS['id']++; } echo $H

[PHP] using sessions and include

2001-11-13 Thread jtjohnston
Martin, are ya out there? Does anyone know anything about sessions? (An post & reply would be handy :) I am using session_register. I have: http://www.collegesherbrooke.qc.ca/languesmodernes/postcard/index.html http://www.collegesherbrooke.qc.ca/languesmodernes/postcard/index.html.phps Which su

RE: [PHP] Using sessions

2001-03-14 Thread Stewart Taylor
ou want it. -Stewart -Original Message- From: Rosen [mailto:[EMAIL PROTECTED]] Sent: 14 March 2001 08:52 To: [EMAIL PROTECTED] Subject: Re: [PHP] Using sessions Thanks, but cookies are disabled ! Rosen Marinov ""Yasuo Ohgaki"" <[EMAIL PROTECTED]> wrote in

Re: [PHP] Using sessions

2001-03-14 Thread Rosen
Thanks, but cookies are disabled ! Rosen Marinov ""Yasuo Ohgaki"" <[EMAIL PROTECTED]> wrote in message 98nai7$2gb$[EMAIL PROTECTED]">news:98nai7$2gb$[EMAIL PROTECTED]... > "Rosen" <[EMAIL PROTECTED]> wrote in message > 98n8ut$m26$[EMAIL PROTECTED]">news:98n8ut$m26$[EMAIL PROTECTED]... > > Hi,

Re: [PHP] Using sessions

2001-03-14 Thread Yasuo Ohgaki
"Rosen" <[EMAIL PROTECTED]> wrote in message 98n8ut$m26$[EMAIL PROTECTED]">news:98n8ut$m26$[EMAIL PROTECTED]... > Hi, > When I use sessions, on the URL row of the browser shows > "PHPSESSID=CXXX". > Can I hide id ? > > Thanks, > Rosen Marinov Use cookie for session. It seems there are some

[PHP] Using sessions

2001-03-13 Thread Rosen
Hi, When I use sessions, on the URL row of the browser shows "PHPSESSID=CXXX". Can I hide id ? Thanks, Rosen Marinov -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list admi