I see that i can pass data between 2 xpages by using url parameters in the first page and then retrieve them from the second xpage by using :
param.get()
.
How can i send data without showing them in the url and without session scope variable? Can i use post method?
You can create and use a flashScope implementation in XPages. See http://www.bleedyellow.com/blogs/andyc/entry/a_flash_scope_for_xpages for more details.
The flashScope scope variables lives from one xpage to the next.
Update april 2016
The blog post is no longer available. You can find an implementation of flashScope in the XPages Scaffolding project on Github. You need to add the following to your code: