I am developing a web application using frames(main and menu). User logs in, sessions are created and when the user logs out the sessions are set to null. Logout button is in the menu frame. This work fine for the main frame but the menu frame still think that the sessions are not created because it's giving me a null value. Can anyone tell me what I am doing wrong here? I don't want to use cookies. Thanks for any helpCan anyone tell me what I am doing wrong here?
You are using frames, don't use them ;)
You are always going to be fighting with this because the browser sees the 2 frame windows as separate windows being openned. So if you set a session in one, it doesn't associate it with the other. You might be able to set the session in your core page that has the source for creating the frames, but there are no guarantees.
So I stick with my suggestion of dumping the frameset and using tables since you don't want to be bothered with cookies (which are as secure and usable as sessions mind you)
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment