code: public static void copyToWicketSession(final PageParameters source, final Session session)
  	{
  		final List<INamedParameters.NamedPair> namedPairs = source.getAllNamed();
  		for (final INamedParameters.NamedPair namedPair : namedPairs)
  		{
  			session.setAttribute(namedPair.getKey(), namedPair.getValue());
  		}
  	}
docs: Copies all given source {@link org.apache.wicket.request.mapper.parameter.PageParameters} to
  the given session {@link org.apache.wicket.Session}.
  
  @param source
  The source {@link org.apache.wicket.request.mapper.parameter.PageParameters}.
  @param session
  The session where the
  {@link org.apache.wicket.request.mapper.parameter.PageParameters} are stored.