| 
	
 | 
 Posted by Jim Michaels on 03/02/06 22:47 
"Norman Peelman" <npeelman@cfl.rr.com> wrote in message  
news:JJOMf.47101$Fw6.14262@tornado.tampabay.rr.com... 
> "John Howie" <johnhowie85@gmail.com> wrote in message 
> news:1141055279.339488.125350@v46g2000cwv.googlegroups.com... 
>> Problem solved! Or at least a workaround. Instead of using sessions I'm 
>> now using cookies on the client machine, since the data stored isn't 
>> confidential, or passwords. 
>> 
>> It seems to be working perfectly fine now, though I don't know what 
>> would happen if a user has disabled cookies. That's a huge relief, 
>> thank you all for your help with this matter, if anyone does work out 
>> what wasn't working with the sessions I'd be very interested to hear 
>> it, as I can include it in my write up. 
>> 
>> John 
>> 
> 
> John, 
> 
>   Just out of curiosity, when you changed servers did you alter any links? 
> PHP is usually set up to use both cookies and url based session handling. 
> url based kicks in when cookies are not enabled but only works with fully 
> qualified links: 
> 
> 1) <a href='http://www.yourserver.com/link.htm'>Link</a>  <- will have the 
> session id appended if cookies are disabled 
> 2) <a href='link.htm'>Link</a>  <- will not work as PHP won't add the 
> session id to a short form link 
 
funny, it seemed to work in my php file with relative link.  or are you  
saying the behaviour becomes flaky? 
 
> 
> and make sure that the 'temp' directory is set in php.ini so that PHP  
> knows 
> where to store the sessions... 
> 
> Norm 
> 
>
 
[Back to original message] 
 |