posted 17 years ago
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 ]