Hi Pani,

I store the registration values in a DTO/VTO and put them in
session scope. For the registration process the session is 
(called: REGISTER:), when the registration process is completed 
I invalid this session and create a new session (called: USER), 
which is necessary to see the other pages.


Hope that helps
Oliver




-----Ursprüngliche Nachricht-----
Von: Pani R [mailto:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 11. Februar 2004 21:11
An: Struts Users Mailing List
Betreff: [OT] - Request against Session

Hi:

I have a very basic question which is related to a User Registration
Process. Lets assume the user registration process spans across 4 pages.
User is obviously not logged in to the system and apparently viewing all
the content belonging to the public. 

Now, when the un-logged user tries to register, where am I suppose to
store the Registration Values, Session or Request? Which one will be the
better approach and why?

I'm trying to store it in Request as I thought the Session should be
created only after completion of the User Registration process
(obviously I create a session and log him in). But, again, when I try to
pass the Java object through hidden fields, I get null in my action
class. Is there any specific way of pass Jabva Objects in Hidden Fields?

I appreciate any response.

Regards,
Pani



____________________________________________________________
Find what you are looking for with the Lycos Yellow Pages
http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default
.asp?SRC=lycos10

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to