joomla
am 09.09.2007 14:06:26 von Toki
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 ?
Regards
Thorsten
Re: joomla
am 09.09.2007 16:02:27 von Jerry Stuckle
Toki wrote:
> 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 ?
>
> Regards
> Thorsten
>
I'd suggest you check the Joomla support forums. They know more about
how their product works than anyone else.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Re: joomla
am 10.09.2007 17:49:59 von Good Man
Toki 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