Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old August 16th, 2008, 09:52 AM
Newbie
 
Join Date: Oct 2007
Posts: 2
Default Calling CGI script + another html page on a single button

Hi All,

I have created two web pages (Login page & User Page),
Login page has a form of which method is get & action is "\\localhost\login.pl" , and submit button (action = submit),
This login page will accept user & password from user & on clicking Submit button it will cross check it with database, if both user & password are correct it will print "Login Successful" on a different web page, up to this I have done successfully,

But now I want to open a different web page (i.e. User Page) instead of printing "Login Successful" after clicking the submit button.

Thanks,

Suhas
Reply
  #2  
Old August 17th, 2008, 07:03 PM
eWish's Avatar
Moderator
 
Join Date: Jul 2007
Location: Arkansas
Posts: 833
Default

Simply add some code to redirect the user to there page rather than having it print "Login Successful". Should be trivial. Are you have problems achieving this task? If so, then please post the code and we will assist. When posting code please be sure to surround the code the the [code][/code] tags.

--Kevin
Reply
Reply

Bookmarks

Thread Tools

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 Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles