Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Lost Session

Posted on 2001-06-23
6
Medium Priority
?
173 Views
Last Modified: 2010-04-16
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...
0
Comment
Question by:jerelw
6 Comments
 
LVL 14

Expert Comment

by:sudhakar_koundinya
ID: 6222548
0
 

Expert Comment

by:jaikishan
ID: 6224562
can u tell me the environment in which u r running...
0
 
LVL 3

Author Comment

by:jerelw
ID: 6225722
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.


0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Accepted Solution

by:
jaikishan earned 200 total points
ID: 6227226
may be a redirector can work if the login is of admin one can send him to adminServlet and the rest will go to some other page.
other way may be is to have a utility running at a port other that the normal 80. This utility will handle all requests at that port and can work as admin utility
0
 
LVL 3

Author Comment

by:jerelw
ID: 6636445
not the solution, but you tried.

thank you!
0
 

Expert Comment

by:engendro
ID: 7987972
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
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Suggested Courses

877 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question