RE: [PHP] PHP Sessions - Cookies Not Saving
but it will > save on my Linux box. As sending cookies is pretty much a generic procedure which is not platform dependent it would suggest that your WinXP box is broken (needless to say I'm assuming that you have already ensured that your browser is configured to accept cookies). Have you tried any other browsers/platforms? The above snippet means it works on his linux box which is why i suggested to see if the session is storing in /tmp, he could prob have spyware running on his machine, i advice check out adaware. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Sessions - Cookies Not Saving
On Friday 05 March 2004 13:05, Paul Higgins wrote: > When I thought about what the compay really told me...it didn't make sense. > All I know is that that cookie will not save on my WinXP box, but it will > save on my Linux box. As sending cookies is pretty much a generic procedure which is not platform dependent it would suggest that your WinXP box is broken (needless to say I'm assuming that you have already ensured that your browser is configured to accept cookies). Have you tried any other browsers/platforms? -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * -- Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general -- /* All vacations and holidays create problems, except for one's own -- Murphy's Laws on Work n34 */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] PHP Sessions - Cookies Not Saving
On 05 March 2004 03:33, Paul Higgins wrote: > When I do: print_r($_COOKIE); I get the following: > Array ( [PHPSESSID] => 11781ce29c68ca7ef563110f37e43f38 ) > > Does that mean its setting the Cookie? Yes. Cheers! Mike - Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: [EMAIL PROTECTED] Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Sessions - Cookies Not Saving
When I thought about what the compay really told me...it didn't make sense. All I know is that that cookie will not save on my WinXP box, but it will save on my Linux box. Are there any special headers that I could use? Paul From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: Re: [PHP] PHP Sessions - Cookies Not Saving Date: Fri, 5 Mar 2004 15:24:32 +1100 (EST) Is it a non default /tmp ? If so it should be in php.ini or u have to set where it is with an ini_set , hope that helps. > AAAGGGH!! > > I asked my hosting company where they were stored...on the server...I > am so mad at myself...all that time wasted. Thanks for the help > though...it was much appreciated! > > Paul > > >>From: <[EMAIL PROTECTED]> >>To: <[EMAIL PROTECTED]> >>Subject: Re: [PHP] PHP Sessions - Cookies Not Saving >>Date: Fri, 5 Mar 2004 14:25:53 +1100 (EST) >> >>Are the hosts u looking at the same ? Like is it the very same link ? >>Check on the XP box if you have cookies disabled, u can always check if >>the session is being stored on the server too, look in /tmp first. Try >>a print_r >>($_COOKIE); aswell. >> >> >> > Hi everyone, >> > >> > I'm trying to create a session with PHP. I'm using the following >> > code: >> > >> > > >session_start( ); >> > >> >print( session_id( ) ); >> > >> >print( ''); >> >print( '' ); >> >print( ' > > "http://www.mysite.com/shopping_cart/Test2.php";>Here' ); >> >print( '' ); >> >print( '' ); >> > ?> >> > >> > Now, I'm trying to view this site on a WinXP box. However, the >> > cookies are not being saved onto my machine. I've viewed the site >> > with Mozilla on a Linux box, and it works fine. What could be >> > wrong? Any help would be greatly appreciated. >> > >> > I read somewhere that PHP had some issues with writing cookies to an >> > NTFS box. Could that have anything to do with it? >> > >> > Thanks, >> > >> > Paul >> > >> > _ >> > FREE pop-up blocking with the new MSN Toolbar get it now! >> > http://clk.atdmt.com/AVE/go/onm00200415ave/direct/01/ >> > >> > -- >> > 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 >> > > _ > FREE pop-up blocking with the new MSN Toolbar get it now! > http://clk.atdmt.com/AVE/go/onm00200415ave/direct/01/ > > -- > 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 _ Get business advice and resources to improve your work life, from bCentral. http://special.msn.com/bcentral/loudclear.armx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Sessions - Cookies Not Saving
Ahh is it showing in the url ? Usually it stores as a cookie, or via url, i think that is also set in php.ini, someone want to ellaborate here ? > If there is something in $_COOKIE, what does that mean? That there is > a cookie somewhere? Or is it appending the Session ID to the URL? > > Paul > > >>From: <[EMAIL PROTECTED]> >>To: <[EMAIL PROTECTED]> >>Subject: Re: [PHP] PHP Sessions - Cookies Not Saving >>Date: Fri, 5 Mar 2004 15:24:32 +1100 (EST) >> >>Is it a non default /tmp ? If so it should be in php.ini or u have to >>set where it is with an ini_set , hope that helps. >> >> > AAAGGGH!! >> > >> > I asked my hosting company where they were stored...on the >> > server...I am so mad at myself...all that time wasted. Thanks for >> > the help though...it was much appreciated! >> > >> > Paul >> > >> > >> >>From: <[EMAIL PROTECTED]> >> >>To: <[EMAIL PROTECTED]> >> >>Subject: Re: [PHP] PHP Sessions - Cookies Not Saving >> >>Date: Fri, 5 Mar 2004 14:25:53 +1100 (EST) >> >> >> >>Are the hosts u looking at the same ? Like is it the very same link >> >>? Check on the XP box if you have cookies disabled, u can always >> >>check if the session is being stored on the server too, look in /tmp >> >>first. Try a print_r >> >>($_COOKIE); aswell. >> >> >> >> >> >> > Hi everyone, >> >> > >> >> > I'm trying to create a session with PHP. I'm using the following >> >> > code: >> >> > >> >> > > >> >session_start( ); >> >> > >> >> >print( session_id( ) ); >> >> > >> >> >print( ''); >> >> >print( '' ); >> >> >print( ' > >> > "http://www.mysite.com/shopping_cart/Test2.php";>Here' ); >> >> >print( '' ); >> >> >print( '' ); >> >> > ?> >> >> > >> >> > Now, I'm trying to view this site on a WinXP box. However, the >> >> > cookies are not being saved onto my machine. I've viewed the >> >> > site with Mozilla on a Linux box, and it works fine. What could >> >> > be wrong? Any help would be greatly appreciated. >> >> > >> >> > I read somewhere that PHP had some issues with writing cookies to >> >> > an NTFS box. Could that have anything to do with it? >> >> > >> >> > Thanks, >> >> > >> >> > Paul >> >> > >> >> > _ >> >> > FREE pop-up blocking with the new MSN Toolbar get it now! >> >> > http://clk.atdmt.com/AVE/go/onm00200415ave/direct/01/ >> >> > >> >> > -- >> >> > 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 >> >> >> > >> > _ >> > FREE pop-up blocking with the new MSN Toolbar get it now! >> > http://clk.atdmt.com/AVE/go/onm00200415ave/direct/01/ >> > >> > -- >> > 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 >> > > _ > Get a FREE online computer virus scan from McAfee when you click here. > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > -- > 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] PHP Sessions - Cookies Not Saving
If there is something in $_COOKIE, what does that mean? That there is a cookie somewhere? Or is it appending the Session ID to the URL? Paul From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: Re: [PHP] PHP Sessions - Cookies Not Saving Date: Fri, 5 Mar 2004 15:24:32 +1100 (EST) Is it a non default /tmp ? If so it should be in php.ini or u have to set where it is with an ini_set , hope that helps. > AAAGGGH!! > > I asked my hosting company where they were stored...on the server...I > am so mad at myself...all that time wasted. Thanks for the help > though...it was much appreciated! > > Paul > > >>From: <[EMAIL PROTECTED]> >>To: <[EMAIL PROTECTED]> >>Subject: Re: [PHP] PHP Sessions - Cookies Not Saving >>Date: Fri, 5 Mar 2004 14:25:53 +1100 (EST) >> >>Are the hosts u looking at the same ? Like is it the very same link ? >>Check on the XP box if you have cookies disabled, u can always check if >>the session is being stored on the server too, look in /tmp first. Try >>a print_r >>($_COOKIE); aswell. >> >> >> > Hi everyone, >> > >> > I'm trying to create a session with PHP. I'm using the following >> > code: >> > >> > > >session_start( ); >> > >> >print( session_id( ) ); >> > >> >print( ''); >> >print( '' ); >> >print( ' > > "http://www.mysite.com/shopping_cart/Test2.php";>Here' ); >> >print( '' ); >> >print( '' ); >> > ?> >> > >> > Now, I'm trying to view this site on a WinXP box. However, the >> > cookies are not being saved onto my machine. I've viewed the site >> > with Mozilla on a Linux box, and it works fine. What could be >> > wrong? Any help would be greatly appreciated. >> > >> > I read somewhere that PHP had some issues with writing cookies to an >> > NTFS box. Could that have anything to do with it? >> > >> > Thanks, >> > >> > Paul >> > >> > _ >> > FREE pop-up blocking with the new MSN Toolbar get it now! >> > http://clk.atdmt.com/AVE/go/onm00200415ave/direct/01/ >> > >> > -- >> > 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 >> > > _ > FREE pop-up blocking with the new MSN Toolbar get it now! > http://clk.atdmt.com/AVE/go/onm00200415ave/direct/01/ > > -- > 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 _ Get a FREE online computer virus scan from McAfee when you click here. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Sessions - Cookies Not Saving
Is it a non default /tmp ? If so it should be in php.ini or u have to set where it is with an ini_set , hope that helps. > AAAGGGH!! > > I asked my hosting company where they were stored...on the server...I > am so mad at myself...all that time wasted. Thanks for the help > though...it was much appreciated! > > Paul > > >>From: <[EMAIL PROTECTED]> >>To: <[EMAIL PROTECTED]> >>Subject: Re: [PHP] PHP Sessions - Cookies Not Saving >>Date: Fri, 5 Mar 2004 14:25:53 +1100 (EST) >> >>Are the hosts u looking at the same ? Like is it the very same link ? >>Check on the XP box if you have cookies disabled, u can always check if >>the session is being stored on the server too, look in /tmp first. Try >>a print_r >>($_COOKIE); aswell. >> >> >> > Hi everyone, >> > >> > I'm trying to create a session with PHP. I'm using the following >> > code: >> > >> > > >session_start( ); >> > >> >print( session_id( ) ); >> > >> >print( ''); >> >print( '' ); >> >print( '> > "http://www.mysite.com/shopping_cart/Test2.php";>Here' ); >> >print( '' ); >> >print( '' ); >> > ?> >> > >> > Now, I'm trying to view this site on a WinXP box. However, the >> > cookies are not being saved onto my machine. I've viewed the site >> > with Mozilla on a Linux box, and it works fine. What could be >> > wrong? Any help would be greatly appreciated. >> > >> > I read somewhere that PHP had some issues with writing cookies to an >> > NTFS box. Could that have anything to do with it? >> > >> > Thanks, >> > >> > Paul >> > >> > _ >> > FREE pop-up blocking with the new MSN Toolbar get it now! >> > http://clk.atdmt.com/AVE/go/onm00200415ave/direct/01/ >> > >> > -- >> > 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 >> > > _ > FREE pop-up blocking with the new MSN Toolbar get it now! > http://clk.atdmt.com/AVE/go/onm00200415ave/direct/01/ > > -- > 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] PHP Sessions - Cookies Not Saving
AAAGGGH!! I asked my hosting company where they were stored...on the server...I am so mad at myself...all that time wasted. Thanks for the help though...it was much appreciated! Paul From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: Re: [PHP] PHP Sessions - Cookies Not Saving Date: Fri, 5 Mar 2004 14:25:53 +1100 (EST) Are the hosts u looking at the same ? Like is it the very same link ? Check on the XP box if you have cookies disabled, u can always check if the session is being stored on the server too, look in /tmp first. Try a print_r ($_COOKIE); aswell. > Hi everyone, > > I'm trying to create a session with PHP. I'm using the following code: > > session_start( ); > >print( session_id( ) ); > >print( ''); >print( '' ); >print( ' "http://www.mysite.com/shopping_cart/Test2.php";>Here' ); >print( '' ); >print( '' ); > ?> > > Now, I'm trying to view this site on a WinXP box. However, the cookies > are not being saved onto my machine. I've viewed the site with > Mozilla on a Linux box, and it works fine. What could be wrong? Any > help would be greatly appreciated. > > I read somewhere that PHP had some issues with writing cookies to an > NTFS box. Could that have anything to do with it? > > Thanks, > > Paul > > _ > FREE pop-up blocking with the new MSN Toolbar get it now! > http://clk.atdmt.com/AVE/go/onm00200415ave/direct/01/ > > -- > 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 _ FREE pop-up blocking with the new MSN Toolbar get it now! http://clk.atdmt.com/AVE/go/onm00200415ave/direct/01/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Sessions - Cookies Not Saving
When I do: print_r($_COOKIE); I get the following: Array ( [PHPSESSID] => 11781ce29c68ca7ef563110f37e43f38 ) Does that mean its setting the Cookie? I can't see the cookie on my computer. I don't have cookies disabled because I'm getting cookies from other sites. The privacy setting is set to Medium. Thanks, Paul From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: Re: [PHP] PHP Sessions - Cookies Not Saving Date: Fri, 5 Mar 2004 14:25:53 +1100 (EST) Are the hosts u looking at the same ? Like is it the very same link ? Check on the XP box if you have cookies disabled, u can always check if the session is being stored on the server too, look in /tmp first. Try a print_r ($_COOKIE); aswell. > Hi everyone, > > I'm trying to create a session with PHP. I'm using the following code: > > session_start( ); > >print( session_id( ) ); > >print( ''); >print( '' ); >print( ' "http://www.mysite.com/shopping_cart/Test2.php";>Here' ); >print( '' ); >print( '' ); > ?> > > Now, I'm trying to view this site on a WinXP box. However, the cookies > are not being saved onto my machine. I've viewed the site with > Mozilla on a Linux box, and it works fine. What could be wrong? Any > help would be greatly appreciated. > > I read somewhere that PHP had some issues with writing cookies to an > NTFS box. Could that have anything to do with it? > > Thanks, > > Paul > > _ > FREE pop-up blocking with the new MSN Toolbar get it now! > http://clk.atdmt.com/AVE/go/onm00200415ave/direct/01/ > > -- > 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 _ FREE pop-up blocking with the new MSN Toolbar get it now! http://clk.atdmt.com/AVE/go/onm00200415ave/direct/01/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Sessions - Cookies Not Saving
Are the hosts u looking at the same ? Like is it the very same link ? Check on the XP box if you have cookies disabled, u can always check if the session is being stored on the server too, look in /tmp first. Try a print_r ($_COOKIE); aswell. > Hi everyone, > > I'm trying to create a session with PHP. I'm using the following code: > > session_start( ); > >print( session_id( ) ); > >print( ''); >print( '' ); >print( '"http://www.mysite.com/shopping_cart/Test2.php";>Here' ); >print( '' ); >print( '' ); > ?> > > Now, I'm trying to view this site on a WinXP box. However, the cookies > are not being saved onto my machine. I've viewed the site with > Mozilla on a Linux box, and it works fine. What could be wrong? Any > help would be greatly appreciated. > > I read somewhere that PHP had some issues with writing cookies to an > NTFS box. Could that have anything to do with it? > > Thanks, > > Paul > > _ > FREE pop-up blocking with the new MSN Toolbar get it now! > http://clk.atdmt.com/AVE/go/onm00200415ave/direct/01/ > > -- > 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