session.put(HOSTNAME_KEY,dialog.getHost());  session.put(PASSWORD_KEY,dialog.getPassword());
if(session != null) session[0] = newSession;
	public String showBrowseDialog(VFSSession session, Component comp)	{		LoginDialog dialog = new LoginDialog(comp,null,null,null);		if(!dialog.isOK())			return null;		session.put(HOSTNAME_KEY,dialog.getHost());		//session.put(USERNAME_KEY,dialog.getUser());		session.put(PASSWORD_KEY,dialog.getPassword());		return PROTOCOL + "://" + dialog.getUser() + "@"			+ dialog.getHost() + "/";	}