Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

logon servlet

Status
Not open for further replies.

plork123

Programmer
Mar 8, 2004
121
GB


Hi all,

I need to write a logon servlet - a user will come along enter user credentials (username,password), and the servlet will authenticate them

If authenticated i want to sore a token (cookie) on the user browser that expires after say 60 minutes.

Also, when authenticated the user is taken to page using a url when they can access our web services. How to a create the url, so that it just can't be type in?

Can anyone provide some sample code, as I'm newto httpcookie, httprequest, HttpServletRequest etc

Thanks for any help offered
 
You're in the wrong forum. Try forum695.

Tim
---------------------------
"Your morbid fear of losing,
destroys the light you're using." - Ozzy
 


Sorry,

Perhaps someone in this forum will be able to help anyway
 
It's okay. We try to get the posts into the correct forum because then any useful answers are relevant to that forum and found by people searching there.

Tim
---------------------------
"Your morbid fear of losing,
destroys the light you're using." - Ozzy
 
Note that this thread has moved here : thread695-1042370

--------------------------------------------------
Free Database Connection Pooling Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top