Solved

Working around a Login Splash Page Redirect

Posted on 2012-04-04
3
387 Views
Last Modified: 2012-04-09
Hello Experts;

At my organization we use a training distribution tool called the "Virtual Learning Center" (VLC).
I would like to hyperlink to a specific page inside the VLC; however, when I try hyperlinking to that location the VLC redirects the user to a login splash screen that in my opinion doesn't need to be there. You don't have to enter a username and password; rather, all you do is press the "login" button and it logs you into the VLC. My complaint is... why have a login screen at all.....

My question is..... is there anyway to work-around that redirect by preceding the hyperlink that I’m trying to create with some sort of programming that would act as the user pressing the "Login" button at the splash screen?

I've attached the source code for the login splash page to assist. If you need more formation, which I suspect you might, please let me know.
VLCloginSplash.txt
0
Comment
Question by:-Polak
  • 2
3 Comments
 
LVL 8

Accepted Solution

by:
Amit Khilnaney earned 500 total points
Comment Utility
From this source code it looks like it is an ASP.NET web application which is keeping a track of the session and timeout etc. You need to contact the developer of the application to provide some more convinient login process.
0
 
LVL 1

Author Comment

by:-Polak
Comment Utility
Making changes to the VLC is really outside my sphere of influence; If i'm asking for the impossible with the workaround let me know and I'll just award points.
0
 
LVL 8

Expert Comment

by:Amit Khilnaney
Comment Utility
If you read the text inside the code you uploaded.

<script language='javascript'> 
	 var strLoc = location.href;
	 if(strLoc.toUpperCase().indexOf('/LOGIN/SPLASH.ASPX') >= 0) 
	 {
		 if(window.opener != null)
		 { 
			 if(window.opener.location != null && window.opener.open && !window.opener.closed) 
			 {
				 var strOpenerLoc = window.opener.location.href;
				 if(strOpenerLoc.toUpperCase().indexOf('/CONTENT/GLOSSARY/GLOSSARYSIMPLESEARCH.ASPX') <= 0 ||  strOpenerLoc.toUpperCase().indexOf('/CONTENT/GLOSSARY/GLOSSARYADVANCEDSEARCH.ASPX') <= 0 ) 
				 {
					 window.opener.location.href = strLoc;
					 window.opener.focus();
				 }
			}
			 else
			 {
			 alert("Due to a period of inactivity, your session has ended. This browser window will close. To access the site again, open another browser window and navigate to the Login page.");
			 }
		 this.close();
		 exit(0);
	 	}

Open in new window


You will find reference to /LOGIN/SPLASH.ASPX and the session time out alert as well.

This is certainly a web application, it is a normal practice to design web application like this. I have designed several using session variable etc., so i dont think there is a workaround until developer provides it.

But what you can do is install roboform which can remember password and username for the website and allows you to login but i am not sure about this.

http://www.roboform.com/

You can give it a try via trial version. I will try to find more softwares like this for you if it works and wait for reply from other experts for a day if they have anything to say on this before awarding points.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

A short article about problems I had with the new location API and permissions in Marshmallow
This is about my first experience with programming Arduino.
The viewer will learn how to dynamically set the form action using jQuery.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

744 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now