I found a "workaround". at the end of your processing, forward to the
"j_security_check" servlet.
Make sure you have two html form fields defined (j_username and j_password),
this will be on your registration page.
<%
getServletConfig().getServletContext().getRequestDispatcher("/control/j_secu
rity_check").forward(request, response);
%>
-----Original Message-----
From: Matt Goss [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 26, 2001 9:31 AM
To: JRun-Talk
Subject: Re: JRun 3.0 programatic login
Budi,
Try writing your own login servlet that accepts a cookie. Then you can set
the cookie on registration.
Matt Goss
Budi Prawira wrote:
> Is it possible to programatically log in a user, without doing
> BASIC/FORM/DIGEST authentication?
> I'm developing a project in which user can register to become a member.
Once
> the user is registered, he is automatically logged in (without having to
> enter his newly created username/password).
> I saw an example of doing this in JPS 1.1 (using J2EE RI), but I use JRun
> 3.0 to develop my project. Can I do it in JRun 3.0.
>
> Anyone?
>
> Budi
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists