RE: [OT] Cookies enabled on browsers

2006-01-17 Thread garg.sandeep
Hello deepa This is sandeep garg working at wipro. Can you please give me some information regarding struts I mean like how to start with and which book will be good to start with?? Regards Sandeep -Original Message- From: Deepa Khetan [mailto:[EMAIL PROTECTED] Sent: Monday, January 16,

Re: [OT] Cookies enabled on browsers

2006-01-16 Thread Deepa Khetan
okie!! That sounds fine.. But for my requirements. I need the user to login and on login i set his userid in session and also create a cookie for soem random number storage. I do this in my first Action Class which is also checking for Valid user. This works fine till now. but if Cookies are disabl

Re: [OT] Cookies enabled on browsers

2006-01-16 Thread Craig McClanahan
On 1/16/06, Christian Bollmeyer <[EMAIL PROTECTED]> wrote: > > Craig McClanahan schrieb: > > On 1/15/06, Deepa Khetan <[EMAIL PROTECTED]> wrote: > >> Hi! > >> My application requires, "per-session cookie" to be enabled on client > >> browser. How can i determine in my java code if it is enabled or

Re: [OT] Cookies enabled on browsers

2006-01-16 Thread Deepa Khetan
oh!!! i was mixing both of them!! Thanks Leon!! I will need to explicitly set the MaxAge of the Cookie to 0, if i want it to expire on Logout!! On 1/16/06, Leon Rosenberg <[EMAIL PROTECTED]> wrote: > > On 1/16/06, Deepa Khetan <[EMAIL PROTECTED]> wrote: > > yes, i also dont understand the same.

Re: [OT] Cookies enabled on browsers

2006-01-16 Thread Leon Rosenberg
On 1/16/06, Deepa Khetan <[EMAIL PROTECTED]> wrote: > yes, i also dont understand the same. when i keep my browser privacy level > to "medium-High" i get a true for request.isRequestedSessionIdFromCookie() , > and if it is "High" or "All Cookies Blocked" , i get it as false! > Also, i have non-pers

Re: [OT] Cookies enabled on browsers

2006-01-16 Thread Deepa Khetan
yes, i also dont understand the same. when i keep my browser privacy level to "medium-High" i get a true for request.isRequestedSessionIdFromCookie() , and if it is "High" or "All Cookies Blocked" , i get it as false! Also, i have non-persistent cookies, which ideally should expire when my session

Re: [OT] Cookies enabled on browsers

2006-01-16 Thread Christian Bollmeyer
Craig McClanahan schrieb: On 1/15/06, Deepa Khetan <[EMAIL PROTECTED]> wrote: Hi! My application requires, "per-session cookie" to be enabled on client browser. How can i determine in my java code if it is enabled or not! Deepa There is only one test that is useful for this ... set a cookie on

Re: [OT] Cookies enabled on browsers

2006-01-16 Thread Craig McClanahan
On 1/15/06, Deepa Khetan <[EMAIL PROTECTED]> wrote: > > Hi! > My application requires, "per-session cookie" to be enabled on client > browser. How can i determine in my java code if it is enabled or not! > Deepa > > There is only one test that is useful for this ... set a cookie on one response, a