Ah Ok, I understand, this is probably not what you want.
(The session variables are for small amounts of data, databases are usually not considered ‘small’)
You probably want to use the server modules like this:
And in the Client (the part that the user will see from a web page) you can call the server function and have it return the data you want to display, or a downloadable link that you can put on the client form. Or a button, etc.
Most of the tutorials will get you started with the client / server concepts, how to drag and drop and interact with the buttons through code and the like.
You can also look around the forums, there are a ton of clone links with example apps as well.