Passing Data Between Page & Site Code

Hey Guys,

Is there a way to pass objects and functions between the page code and site code, without using local & session variables, or the database?

Looking for something as quick and dirty as the import statement.

Thanks in advance!

Then it will be easier I guess for you to create a webmodule in backend folder, that can be used and you can pass data from page code and store it and get it back from another page.

I did try something like that, which worked fine for exporting functions, but I was getting an issue with the objects being undefined, even after initialization.

1 Like