|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Redirect to logon page in new page.
<i><b>Originally posted by : Spencer Hopkinson (Spencer.Hopkinson@ndcecommerce.co.uk)</b></i><br />Hello there!! Urgent help needed!!<br /><br />We have a system that uses a logon screen. When the logon crudentials are checked, a session variable is created [session("SignOnID")]. When the users selected the log off page this variable is set to "". On all pages I have checked for the value of this SignOnID and if "" then redirect the user to the logon page. Problem is the pages use frames and when they are redirected to the login page I get the main nav bar to the left plus the logon page in the main frame!!!! Any ideas!!!
|
|
#2
|
|||
|
|||
|
<i><b>Originally posted by : bill</b></i><br />try putting this script in the <head><br /><script language="JavaScript"><br />if (self.parent.frames.length != 0) self.parent.location="logon.asp";<br />// --></script></head><br /><br />of the logon page<br /><br />When the logon.asp page is called it will BUST OUT of frames<br />------------<br />Spencer Hopkinson at 4/3/2000 4:16:53 AM<br /><br />Hello there!! Urgent help needed!!<br /><br />We have a system that uses a logon screen. When the logon crudentials are checked, a session variable is created [session("SignOnID")]. When the users selected the log off page this variable is set to "". On all pages I have checked for the value of this SignOnID and if "" then redirect the user to the logon page. Problem is the pages use frames and when they are redirected to the login page I get the main nav bar to the left plus the logon page in the main frame!!!! Any ideas!!!
|
|
#3
|
|||
|
|||
|
<i><b>Originally posted by : Spencer Hopkinson (Spencer.Hopkinson)</b></i><br />Will this cure the problem if the session times out??<br /><br /><br />------------<br />bill at 4/4/2000 9:48:11 PM<br /><br />try putting this script in the <head><br /><script language="JavaScript"><br />if (self.parent.frames.length != 0) self.parent.location="logon.asp";<br />// --></script></head><br /><br />of the logon page<br /><br />When the logon.asp page is called it will BUST OUT of frames<br />------------<br />Spencer Hopkinson at 4/3/2000 4:16:53 AM<br /><br />Hello there!! Urgent help needed!!<br /><br />We have a system that uses a logon screen. When the logon crudentials are checked, a session variable is created [session("SignOnID")]. When the users selected the log off page this variable is set to "". On all pages I have checked for the value of this SignOnID and if "" then redirect the user to the logon page. Problem is the pages use frames and when they are redirected to the login page I get the main nav bar to the left plus the logon page in the main frame!!!! Any ideas!!!
|
![]() |
| Viewing: ASP Free Forums > Programming > ASP Development > Redirect to logon page in new page. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|