AshishP Gandhi

Greenhorn
+ Follow
since Aug 05, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by AshishP Gandhi

Hi,
I have this below problem. Please reply if any one has any solution:
Background: We set a cookie when a user logs in and delete it when user logs out.
Also this cookie is not deleted when session times out (Is there any way to do this?)
Problem:
Suppose user logs in and comes to a page he is surfing, now he goes away, session times out and now when user refreshes the page, in our code logic it takes him to log in page which is a very bad user experience….this problem is occurring due to the cookie which is not getting deleted on session time out? ….I have tried or thought of options of deleting cookie on session time out but am not able to do it….Have tried using HTTPSessionListener, but due to no response, request objects in sessionDestroyed(), I am not able to do so.
Alternative way which I am thinking of is: When the user refreshes the page, is there any way that I show him a message that your session is expired after chking if the session has timed out or no, press ok to go to login page or cancel to surf the same page…..I should be able to delete the cookie on cancel click?
Awaiting any suggestions …
Ashish.
14 years ago
JSP
ya tht is fine but I want to do that only on my session getting expired...how do i come to kno when session expires
15 years ago
Hi All,
I am having the below problem...Can someone suggest a way to solve it ?

We have a cookie set when any user logs in on our site..
What i want to do is, when the session expires ie. it is idle for some time, i would like to delete the cookie which i am creating on login.
I tried with HttpSesionListener, sessionDestroyed (), but there is no request object in it to destroy the cookie..
Can any one have some other way to delete the cookie ??

Waiting for some response....Thanks in advance...
Ashish.
15 years ago
No i did not....I have oracle 9i....
U hav Oracle 10 i..??
Can any one tell me or give me oracle.xdb.xmltype jar....
I need this to convert XML TYPE datatype.....
Can you please be a little more specific..
I am not getting how to do it??
17 years ago
I need to take some records and display it on a jsp...and manipulate them like sorting / pagination
These records come through webservice.

Can you guide how should I go about it?

Can I make a class and get all data in collection and manipulate it the class when jsp page asks for sorting which is a button?

Awaiting replies.
17 years ago
I need to take some records and display it on a jsp...and manipulate them like sorting / pagination
These records come through webservice.

Can you guide how should I go about it?

Can I make a class and get all data in collection and manipulate it the class when jsp page asks for sorting which is a button?

Awaiting replies.
17 years ago