|
Technical Interview Questions
Visual Basic Interview Question
.NET Web Interview Questions
.NET
Interview Questions
C#
Interview Questions
.........More
Source Codes
Asp .NET Source Codes
Asp VB Script Source Codes
.........More
Soft Skills
Communication Skills
Leadership Skills
.........More
|
|
Asp/VB Script Source Codes
How to redirect using
Global.asa file
<SCRIPT RUNAT=Server Language=VBScript>
Sub Session_OnStart
`Check to see if current page is the correct login page
loginPage = "/Login/userLogin.asp"
`Get the current page
currentPage = Request.ServerVariables("SCRIPT_NAME")
`If page is not correct then send the visitor to the correct login page
If strcomp(currentPage, loginPage, 1) Then
Response.Redirect( StartPage)
End If
End Sub
</SCRIPT>
<<<----- Return to
Asp/VB Script Source
Code Questions Page.
Have a Question ?
post your questions here. It
will be answered as soon as possible.
Check
Microsoft .Net Interview Questions
for more Microsoft
.Net Interview Questions with Answers.
Check
.Net Database Interview
Questions for more .Net Database Interview Questions with answers
Check
Job Interview Questions
for more Interview Questions with Answers
|