Hoe Chin

Greenhorn
+ Follow
since Jul 01, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Hoe Chin

So what is the best way to secure the Session? How to regenerate a new session upon successful authentication or privilege level change.
14 years ago
JSF
so you means that regenerate the session after the user login to the system wont be more secure? Can you suggest me few way to secure the session? or do you know how to prevent session hijacking sorry i am new to session, i not sure is correct or not please correct me. thanks
14 years ago
JSF
But do you think we cangenerate the session id by ourself ?
Let said i got a method genarate unique id can we set the session id our self rather than put session.getSession(true)
14 years ago
JSF
i read trhough from the website regenerate the sessionid will be more secure after the user login. Actually i try the solution you mention but if you invalidate that mean it will logout the user den create again the session.
14 years ago
JSF
I want to prevent Session hijacking so i intend to regenerate the session id once the user login to the system. Can i do that because i know once you run the jsf page the session will auto create but how i change the session.getId() value once the user login to the system
14 years ago
JSF
I have a page with link http://localhost:8080/Test/Page.faces?id=asdasdasd
The page got 2 text field and one button, after user key in the details and click submit, it works well when you first time click the submit button, the id will return me the exact value, but if the user never enter the value and click submit the validation will be invoked and next click the button again the id return null? How to solve this problem anyone can help?
14 years ago
JSF
Who have using the jespa window authentication before, can guide me how to create the service account and bindstr?
14 years ago
JSF
i got a page that once the user enter the details click on submit button a reset password link will send to user email account i add a resetId in the link like this
http//localhost:8080/Test/Reset.faces?id=asedfr1241243a123sfsdf

Once the user click on the link how can i get the parameter values immediately the user click on the link? Because i want to check the reset Id is still valid or not if is expire den will redirct user to another page or show that this page is no longer exist how can i do that?
14 years ago
JSF
Thank you for replied i got it works
14 years ago
I have a faces page. let said now the link http://localhost:8080/Page.faces?ID=asdasd1237123

When user click on this link i need to get the id value to do some checking how can i get the id value?

if i use this String url=request.getRequestURL().toString(); the url return me http://localhost:8080/Page.faces only
14 years ago
yes it works now, really thanks you very much i have tried out this few days already.
14 years ago
JSF
Thanks Kavita Tipnis really really a big thanks to you !
14 years ago
JSF
Thanks, it wont loop right now. But can i prevent if the user never enter username on page1 the user wont able to reach page two by typing url /page2.faces.
14 years ago
JSF
Thanks for your helps, I can make it link to Page1 when i run Page2 or Page 3. From Page2 i can get the value of what the user key in in page1. But if i didnt key in anything in Page1 to start the session i try key in the url Page2 it still link me to Page2. Sorry i am beginner. I realised that Even if i nvr key in anything in Page1
The S.O.P. will give me this bean.User@d0d12e
14 years ago
JSF