473,508 Members | 2,509 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Session Problem

4 New Member
Hi,
We have developed an application.We are using launcher(Full screen window) to open it(just to prevent a user to type any action in the url)
Now i opened two session windows with two different User Profiles using launchers.Now when i login into the second window using 2nd user profile it ovverrides the session of the first user profile.
The same work done on both sessions will cross over to the other session, invalidating security.
Can anyone tell me the solution for this?
Dec 20 '07 #1
3 1431
r035198x
13,262 MVP
Hi,
We have developed an application.We are using launcher(Full screen window) to open it(just to prevent a user to type any action in the url)
Now i opened two session windows with two different User Profiles using launchers.Now when i login into the second window using 2nd user profile it ovverrides the session of the first user profile.
The same work done on both sessions will cross over to the other session, invalidating security.
Can anyone tell me the solution for this?
Perhaps if you can give a few more details. I take it this is a web application developed using JSPs and servlets? What kind of "launcher" are you using?
Dec 20 '07 #2
samirgulhane
4 New Member
Perhaps if you can give a few more details. I take it this is a web application developed using JSPs and servlets? What kind of "launcher" are you using?



Yes this is a web application developed using struts framework,JSP's and servelets. We really only use this window to run the javascript to open the application window.

This is the source code for that launcher:-

<HTML>
<HEAD>
<title>Launching APP Prototype...</title>
<script language="javascript">
window.opener = self;
window.close();
wd = 1024;
ht = 740;
var sizestring = ",width=" + (wd - 10) + ",height=" + (ht - 50);
// Create a unique name for the new window (so that multiple instances of application can be opened)
var timestring = new Date();
timestring = "APP" + timestring.getTime();
// Open application window- substitute URL as required for different environments
var newwin = window.open('http://localhost:9080/App/', timestring,'toolbar=no,status=yes,scrollbars=yes,l ocation=no,menubar=no,directories=no,resizable=yes ,left=0,top=0' + sizestring);

</script>
</HEAD>
<body>
Launching APP Prototype...
</body>
</HTML>
Dec 20 '07 #3
r035198x
13,262 MVP
Yes this is a web application developed using struts framework,JSP's and servelets. We really only use this window to run the javascript to open the application window.

This is the source code for that launcher:-

<HTML>
<HEAD>
<title>Launching APP Prototype...</title>
<script language="javascript">
window.opener = self;
window.close();
wd = 1024;
ht = 740;
var sizestring = ",width=" + (wd - 10) + ",height=" + (ht - 50);
// Create a unique name for the new window (so that multiple instances of application can be opened)
var timestring = new Date();
timestring = "APP" + timestring.getTime();
// Open application window- substitute URL as required for different environments
var newwin = window.open('http://localhost:9080/App/', timestring,'toolbar=no,status=yes,scrollbars=yes,l ocation=no,menubar=no,directories=no,resizable=yes ,left=0,top=0' + sizestring);

</script>
</HEAD>
<body>
Launching APP Prototype...
</body>
</HTML>
I've copied it over to the Javascript forum as well.
Dec 20 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

7
7166
by: Billy Jacobs | last post by:
I am having a problem with my session variable being set to Null for no apparent reason. I am declaring it like the following when the user logs in. dim objUserInfo as new clsUserInfo 'Set...
1
2010
by: Scott Wickham | last post by:
I'm having a problem saving session information on one form and retrieving it on a subsequent form...for only one out of a number of users. Actually, I'm not absolutely certain it's a session...
6
656
by: Lina Manjarres | last post by:
Hello, I have a session variable in a login page. Then I go to a form page where I uses the ProfileID and the UserID. Then I go to a result page where I would like to use the UserID as a filter,...
7
4179
by: Ottar | last post by:
I've made a program sorting incomming mail in public folder. The function runs every minute by using the form.timer event. In Access XP it runs for weeks, no problem. Access 2003 runs the same...
5
2589
by: Mark Rodrigues | last post by:
Hi Everyone, I have been fighting a problem for a while and I wonder if someone out there can help. This problem has been presented in a number of news postings previously but I am yet to see a...
9
2438
by: William LaMartin | last post by:
I have a problem, mentioned here before, of Session and Application variables disappearing at one site but not at others or on my development computer. The problem is illustrated by an example...
1
737
by: Werner | last post by:
Hi Patrick! Can you give an example of how to use a frameset inside an aspx-file? When I create a new frameset in Visual Studio.Net it just gives me a htm-File. Or give me a link where I can...
1
2395
by: Johan Nedin | last post by:
Hello! I have a problem with SQLSession state on my ASP.NET pages. SQLSession state behaves very different from InProcess session state, which I think is very bad. I can understand some of...
5
2072
by: Just D. | last post by:
Do we have any access to the Session object from a different Session? The idea is to save Session of a current user and then if he logs in again then return the Session back. It's not a problem to...
7
2029
by: Mr Newbie | last post by:
I have written a Custom Control Menu. Its fairly simple but it works well enough. In order to simplify things I decided to store the Menu1 custom control in Session. In the page load event below,...
0
7336
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7405
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7066
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7504
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5643
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4724
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3214
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3198
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
435
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.