Link to home
Start Free TrialLog in
Avatar of jerelw
jerelw

asked on

Lost Session

I have a page with three frames.

The top frame is a login form.
The left frame is a navigation menu.
The right frame is the main page.

The problem is that when a login is a success, I put String values into a session.  Should the String values in the session ever turn null, I know that my session has expired.

There is no problem when my server is run from it's main URL:  www.mycompany.com

The problem is that when my alias www.mycompany.org is loggin in, the menu appears, the values are put into the session(same code), but my main pages saying that my session has timed out...
Avatar of sudhakar_koundinya
sudhakar_koundinya

can u tell me the environment in which u r running...
Avatar of jerelw

ASKER

problem solved.

I used HttpUtils.getRequestURL(request).toString();

for some reason, my frames were generating new sessions for www.site1.com www.site2.com, and www.site3.com even though they were all the same WebServer.

My code, however, had a login screen sending logins to a servlet on www.site1.com only....


Is there any way to control how people log in?

I run admin functions on users on line, current searches, etc.  and I want to force all logins to one static servlet.


ASKER CERTIFIED SOLUTION
Avatar of jaikishan
jaikishan

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jerelw

ASKER

not the solution, but you tried.

thank you!
Well i had the same problem, you only you need is a header at the top of your page with a P3P privacy policy, you lost the session, because the security level that is implemented in IE 6