This week's giveaway is in the Threads forum.
We're giving away four copies of Java Concurrency Live Lessons and have Doug Schmidt on-line!
See this thread for details.
Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

need help  RSS feed

 
rakesh gaddam
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am building a website where a user has to login to access the features of the site.Just wanted to provide some custome features to the user.I have two form fields UserName & Password.I saw in many sites(like Hotmail) where it has a feature to save the username and display that value (in the username field)everytime that user comes to that page.How can this be done??
All suggestions, advice will be really helpful.

Thanks in advance.
rakesh.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First things first. Read this.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can this be done?


Cookies.
 
rakesh gaddam
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

Thanks for the reply and sorry for the subject.But what if the browser doesn't support cookies(disabled).Is there any alternative solution to this ?

thanks
rakesh.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But what if the browser doesn't support cookies


All prevalent modern browsers support cookies. If the user has them turned off for your site, they get what they deserve.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by rakesh gaddam:
and sorry for the subject


Hint: you can edit your topic to change the subject to something more menaingful.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!