Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Cookies in JSP

843835Jul 11 2003 — edited Jul 11 2003
Hi all,

I have a client requirement wherein i have to store SQL statements used frequents by a user against is User Id and display it for him to run it.

I have two options

Either to create a table and store these statements against a user id field

or

Create cookies and store them in cookies.

Now the immediate limitation i see in creating cookies is if the user moved to a different machine the cookie is lost.

the disadvantage in creating a table is obviously additional data object.

What do you guys suggest ?

TIA
Narsi
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 8 2003
Added on Jul 11 2003
1 comment
99 views