You are here: Re: joomla « PHP Programming Language « IT news, forums, messages
Re: joomla

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация