There are two ways to go about it.
1) Subclass the datasource. It's little tricky to do if you want to do it in efficient manner by executing alter session on per physical connection instead of logical connection.
2) Make use of Oracle logon_trigger. This will work very well if your parameter is a constant or computed using db queries. Please consult your DBA before doing it. There are few things to remember,
i) Any error raise by logon_trigger doesn't stop DBAs from logging on (Oracle 8.1.6 and above have this feature). So be careful if you are using a database version from museum.
ii) They are not executed for internal or SYSDBA/SYSOPER.
Code:
create or replace trigger logon_trigger after logon on database
declare
begin
if user = 'SCOTT'
then
---alter session....
end if;
end;