Does Joomla do anything to $_SESSION?

14 views
Skip to first unread message

JCoder

unread,
Dec 3, 2009, 11:57:56 PM12/3/09
to Joomla! General Development
In Joomla root folder I have a sub-foder named "sfolder" and in this
"sfolder" I have a file named "set_session.php" which set a session
key and value as its name suggests through the global variable
$_SESSION, $_SESSION['some_key'] = $some_value.

I request this first which url "http://localhost/joomla/sfolder/
set_session.php"

then

in a Joomla component I have some code to check this session value,
$_SESSION['some_key']

but I got nothing instead of value of $some_value

=== This happens when I integrate script library "kcaptcha" to my
Joomla component

Please help. Thank you.

Andrew Eddie

unread,
Dec 4, 2009, 2:19:36 PM12/4/09
to joomla-de...@googlegroups.com
Joomla calls a method called JRequest::clean. This "might" be
affecting it but I'm not really sure.

Regards,
Andrew Eddie
http://www.theartofjoomla.com - the art of becoming a Joomla developer




2009/12/3 JCoder <ktl...@gmail.com>:
Reply all
Reply to author
Forward
0 new messages