• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Invalidating Session Only in IE5.5

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
: : My application works perfectly fine in IE 5.0 but i loose the session and the application logs out in IE 5.5. Can anyone help me with a solution ?
 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

The problem lies with the settings and not the version of IE5.5. Your browser must be enabled to accept cookies otherwise your application cannot handle sessions. Follow the steps below.
Tools --> Internet Options --> Security tab --> 'Custom Level button...' . Enable the cookies options. Now your application will hold the sessions properly. I am assuming that your application works fine with IE5.0 as you have stated. Hope you understand the solution

Originally posted by madhavi, behra:
: : My application works perfectly fine in IE 5.0 but i loose the session and the application logs out in IE 5.5. Can anyone help me with a solution ?



------------------
 
madhavi, behra
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Mohamed,
Thanks for ur response.I have checked my browser settings. Allow cookies that are stored on ur computer - enable
and as u have said my application works perfect in IE5.0
any other option that need to be checked in IE5.5.actually that was the first thing i checked.
thanks and regards,
madhavi

 
Mohamed Yousuff
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I am sorry I forgot to mention one thing. There are two types of cookies persistent and non-persistent( in netscape terms ). If you are using getsession() method to manage session, then you have to enable non-persistent cookies. If you manage session by setcookie() method, then you need to enable the persistent cookie. It is better you enable both and retry. Also check the session timeout value. I forgot the name of the function but it is there. Let me know if your request is going through a proxy. If you are still not able to solve the problem let me know the details, how you manage sessions, when you create it, when you validate/invalidate it, skeleton of the source code and other details.

Originally posted by madhavi, behra:
Hi Mohamed,
Thanks for ur response.I have checked my browser settings. Allow cookies that are stored on ur computer - enable
and as u have said my application works perfect in IE5.0
any other option that need to be checked in IE5.5.actually that was the first thing i checked.
thanks and regards,
madhavi



------------------
 
madhavi, behra
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Yes i have used getSession() method to manage cookies.The two types that need to be enabled in the browser
1. Allow cookies that are stored on your computer.
this is enabled.
2. Allow per-session cookies(not stored)
this is also enabled.
Are u telling anything else that need to be enabled.
ok.i am sending u the code to be more clear.

I am invalidating the session if any and trying to create one if there is none.its working fine in all except IE5.5.Any more suggestions are welcome.
thanks and regards
madhavi
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic