Link to home
Start Free TrialLog in
Avatar of -Polak
-PolakFlag for United States of America

asked on

Working around a Login Splash Page Redirect

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
ASKER CERTIFIED SOLUTION
Avatar of Amit Khilnaney
Amit Khilnaney
Flag of India image

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 -Polak

ASKER

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.
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.