| 
 Posted by Good Man on 09/10/07 15:49 
Toki <me@home.org> wrote in news:46e3e1db$0$31118$6e1ede2f@read.cnntp.org: 
 
> Hi, 
> I have a problem with Joomla. 
> I wrote a component, which modifies $_SESSION. 
> But $_SESSION is empty. 
>  
> E.g. virtuemart uses $_SESSION to store its cart. 
> But i cannot access this cart from my component. 
>  
> Can anyone help me ? 
 
Two things: 
 
1) Does the page on which your 'component' is on call "session_start();" at  
the beginning to get access to the $_SESSION variables? 
 
2) Is the 'virtuemart' site on a different domain than your 'component'?   
If so, I don't think you can access those $_SESSION variables
 
[Back to original message] 
 |