Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > Servlets
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Servlets section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 6th, 2008, 09:31 AM
Registered User
 
Join Date: Sep 2007
Posts: 6
Thanks: 0
Thanked 1 Time in 1 Post
Default Remember my id & password

Hi all,

I want to integrate "Remember my id & password" utility in my application. will u plz help me in developing tis utility using servlet only?

i expect ths solution with code if possible.

regards,

tanzim.
 
Old May 8th, 2008, 10:20 PM
jomet
Guest
 
Posts: n/a
Default

hi,

using Cookie u can do the trick.

  Cookie userCookie = new Cookie("user", "uid1234");
  response.addCookie(userCookie);

google u will get several sample codes.
sample,
 check the link
http://www.apl.jhu.edu/~hall/java/Se...l-Cookies.html



jomet.
`````````````````````````````````````````````````` ``````````````````````
Once you start a working on something, dont be afraid of failure and dont abandon it.
People who work sincerely are the happiest.





Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL Server Access ID & Password sosborne BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 4 November 7th, 2006 05:34 AM
what is the password and user id for ........! Random Servlets 1 November 8th, 2005 02:59 AM
Remember the UserName and Password groupmatch BOOK: ASP.NET Website Programming Problem-Design-Solution 2 October 2nd, 2004 02:01 AM
Simple cookie to remember userid and password Dayzed Classic ASP Basics 1 April 14th, 2004 08:06 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.