• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

add user

 
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
please help me ,
what can i do?
 
Sheriff
Posts: 67753
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are these users using the same computer?
 
Jack Bolton
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
so,
what can i do with this issue?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic