Forums Register Login

Create a login, it is taking data by using five step

+Pie Number of slices to send: Send
I am new to JSP,Servlet . so can you give me idea to create login its taking data with five steps.
I already created by using session. any other easy way to do this scenario?
thanks.
+Pie Number of slices to send: Send
 

pradeep gamage wrote:I am new to JSP,Servlet . so can you give me idea to create login its taking data with five steps.
I already created by using session. any other easy way to do this scenario?
thanks.



Your question is not clear. Could you elaborate a bit and possibly with your code, so that it can be understood and answered. Most of the vague questions will not attain the attention of the readers.
+Pie Number of slices to send: Send
Thanks Kumar Raja for replaying me,

I am Creating Login.
So if some one else Don't have an account to login, he or she can register with my system. then he or she can log with username and password they provided.
but when some one else register with my system, they have to provide basic personal information, bank information, username password etc.. so he has to provide basic personal information in first page in registration then when he click NEXT go to second page of registration and it's getting bank details. when he click NEXT open next registration page which getting username and password and next page having agreement. when he click FINISH only data will go to database. so I have developed this scenario by using session. when he click first page next button this data assign to session variable. like wise all data assign to session variable. finally this session variable send to database.

so can any one of you suggest any other way to do this scenario.
thanks.
+Pie Number of slices to send: Send
Why would you not want to use the session?
+Pie Number of slices to send: Send
I am ok with session.
I used session. but i want to know that any other easy way to this. in my system if he click PREVIOUS button i have to show data entered previous page. I did it with session variable.
Can I do this data tracking part by using Collection?
Thanks.
+Pie Number of slices to send: Send
You seem to have a working system whose design makes sense. So why are you picking random words and asking if you could use that instead?

You want to keep track of a user's progress over several requests. A session is specifically designed to do that. A Collection isn't. You could probably cobble something together using a Collection... I don't know how but it could probably be done somehow. Just like instead of using a hammer to pound in a nail, you could work out some way of using a bicycle to do it.
Where does a nanny get ground to air missles? Protect this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1181 times.
Similar Threads
Session Hijacking
HttpSessions in WTE (VAJ 4)
Need Advice in my Project Design
Programatically logout currently logged in users of a web application
Problem with Ctrl-N and opening a new window
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 19, 2024 00:28:14.