Question & Additional Information
 
Why we are used setMaxAge () and getMaxAge () in Cookies?
Add to My IQ
 

Answer Title
Answer
SetMaxAge
public void setMaxAge (int expiry)
sets the maximum age of the cookie. The cookie will expire after that many seconds have passed. Negative values indicate the default behaviour: the cookie is not stored persistently, and will be deleted when the user agent exits. A zero value causes the cookie to be deleted
getMaxAge ():
public int getMaxAge ()
Returns the maximum specified age of the cookie. If none was specified, a negative value is returned, indicating the default behavior described with setMaxAge.
Question Tag Title
Tags
Question Asked At Title
Asked At
None
Question Job Title
Job Titles


Check out our newest job listings!

Post a Job! $49 for 60 days



Your Name:
Add your comment text
 
Related Questions
Related Questions
Flag this interview question as inappropriate Inappropriate
See Answer
 
Create Date
:
Thursday, November 08, 2007
Asked At
:
None
Job Positions
:
None
Click here to improve the Interview Question, Answer and other fields.
Comments (0) :
Goto add your comment on the Question 
Flag this interview question as inappropriate Inappropriate
See Answer

 

 

Create Date
:
Monday, September 24, 2007
Tags
:
Job Positions
:
Click here to improve the Interview Question, Answer and other fields.
Comments (2) :
1.
dk123
Wednesday, March 19, 2008 6:27 AM
nice comment
2.
thingMaster
Tuesday, October 23, 2007 1:52 PM
you are overconfident. you will probably kill many patients, but drive a nice car.
Flag this interview question as inappropriate Inappropriate
See Answer
Be the first one to answer the question Click here to answer
Create Date
:
Friday, November 02, 2007
Asked At
:
Job Positions
:
Click here to improve the Interview Question, Answer and other fields.
Comments (1) :
1.
VJ
Tuesday, January 01, 2008 9:18 AM
In anyones career choosing right profession is very vital. I chose this career because it provides me gives me opportunity to improve business knowledge, interaction with clients, keeps in competition with continuous learning, last but important it provides opportunity to grow strictly on performance.
 
• More Related Questions: 
Suggestions & Comments




Share Your Interview Questions
Ask Interview Questions
View Unanswered Questions





Advertise on this site