...

View Full Version : i want response.redirect help.....!



asad_black
07-20-2007, 12:30 PM
em working on the online trouble ticket system.....!
now i want that if user enter his username and password correctly on login.asp page then this page redirect towards the mainpage.asp.
or
if user enter his username and password incorrectly on login.asp page then this page redirect towards the loginerror.asp.

i am using the datbase file in whic username or pw is saved.

n i know that this thing is done by response.redirect

but my code is not work correctly
please help me.....

nbcrockett
07-20-2007, 02:34 PM
In simple terms it would look like this, but I could help you out more if you posted your code.


If LoggedIn = YES then
Response.Redirect "mainpage.asp"
Else
Response.Redirect "loginerror.asp"
End If



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum