Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

add user  RSS feed

 
Jack Bolton
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
help me with this please
I am working in this jsp-cookie issue,
and have this two .jsps: "1.jsp" and "2.jsp"

the first "1.jsp" looks like this(snippet):
It asks the user for his username, and it add it to a cookie


the "2.jsp", basically makes a request, and if there is an available cookie, it prints it.
snippet of 2.jsp:


what i am trying to achieve is to add another user (with the cookies), when the username is different; for example:
a user goes to the 1.jsp, enter his name"jack", then goes to the 2.jsp, and sees it displayed.
then another user goes to the 1.jsp, enter his name"marc", and sees it displayed in the 2.jsp.
so, the two names will be in two diferent cookies, and everytime a new user comes, the same will happen.
how can i do this?
thanks for any response...

[ June 01, 2007: Message edited by: Jack Bolton ]
[ June 01, 2007: Message edited by: Jack Bolton ]
 
Jack Bolton
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please help me ,
what can i do?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66199
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are these users using the same computer?
 
Jack Bolton
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Bear Bibeault:
Are these users using the same computer?


yes
 
Jack Bolton
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
so,
what can i do with this issue?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!