hi, what my advice to u is try to avoid the use of cookies any way, upto my knowleged age of the cookie is upto the browser ends or exits and u can set the max age in milliseconds( hope u know). A 0 indicates delete the cookie immediately, I read one thing in JasonHunter pg.204 what it's telling is ver. 0 cookies should't contain brakets,commas,double quotes....etc., are not allowed.,, i think due to this ur SQL is not stored there.,, so , refer that book Hope it's help ful -sivabass > -----Original Message----- > From: Purav [SMTP:[EMAIL PROTECTED]] > Sent: Friday, August 18, 2000 1:57 PM > To: [EMAIL PROTECTED] > Subject: Cookie Age > > Hi, > > I have used Cookies instead of Session. > So what is the default Age of a Cookie. > and what should be ideal age of a Cookie. > > I am getting a timeout after some time > Also > Can i store a Full SQL Query in a Cookie. > Right now when i try to store,. it stores only one word i.e SELECT instead > of the full query. > > Please Help > Its very Urgent > > > Purav > > __________________________________________________________________________ > _ > To unsubscribe, send email to [EMAIL PROTECTED] and include in the > body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html