Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Feb 20th, 2006, 11:30 PM   #11
Heba
Newbie
 
Join Date: Feb 2006
Posts: 18
Rep Power: 0 Heba is on a distinguished road
Ok am sorry!
Heba is offline   Reply With Quote
Old Apr 14th, 2006, 12:52 PM   #12
theGuru
Newbie
 
Join Date: Apr 2006
Posts: 2
Rep Power: 0 theGuru is on a distinguished road
Quote:
Originally Posted by Heba
<meta http-equiv="refresh" content="5;url=menu.asp">

Where do i have to put it will this do?

strUsername = Request.Form ("username")
strPassword = Request.Form ("password")

If strUsername="john" And strPassword="123" Then
    Response.Write("OK to go!")
   <meta http-equiv="refresh" content="5;url=menu.asp">
 End If


Thank you !
Hello,
I think you can use
If strUsername="john" And strPassword="123" Then
    Response.Redirect("menu.asp")
 End If
Its the best way to redirect the user to another page.
theGuru is offline   Reply With Quote
Old Apr 14th, 2006, 1:46 PM   #13
java_roshan
Professional Programmer
 
Join Date: Mar 2005
Location: Student of University of Mumbai, Maharashtra State, India
Posts: 344
Rep Power: 4 java_roshan is on a distinguished road
Quote:
Originally Posted by theGuru
Hello,
I think you can use
Response.Redirect("menu.asp")
Its the best way to redirect the user to another page.
Or an alternative to this, recommended by Microsoft is
Server.Execute("menu.asp")
__________________
Visit: http://www.somaiya.edu
java_roshan is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 11:39 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC