Global var available in block via Ajax

Permalink
This may be a silly question, but here it goes:

I created a package with a block. In the block's /tools directory I have placed a few php pages that do the magic. These pages are called via Ajax from the page containing the block (via a OnClick event and some custom JS).

Now, I want my block-specific variables (i.e. the ones saved in the DB, also available to the page context) to be available to the Ajax-called PHP pages.

Any ideas if and how this is possible?
If for any reason it isn't possible, any alternatives?

Cheers

cnrx
 
synlag replied on at Permalink Reply
synlag