first some clear thoughts.
1. In html everything is string. it doesn't understand anything else.
2. Session is created the first time the user has sent in a request unless
you have overridden this behavior.
3. If user disables cookies (rare case now a days), storing objects in
session is futile exercise.

Use of session or request varies on requirements basis.

1. Start with first form, collect values, pass as hidden values to second
form and so on
2. Start with first form, collect values, save to session and so on

HTH
Navjot Singh

>-----Original Message-----
>From: Pani R [mailto:[EMAIL PROTECTED]
>Sent: Thursday, February 12, 2004 1:41 AM
>To: Struts Users Mailing List
>Subject: [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/de
>fault.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