Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Output/Input to a file instead of the browser

Reply
Thread Tools

Output/Input to a file instead of the browser

 
 
JD
Guest
Posts: n/a
 
      10-23-2003
Hello,

I have a CGI that logs into a a secure site of mine. Basically, all the CGI
does is send the username and password I have set up, and then the normal
page opens in my brower. But, I would rather send this HTML to a file, parse
it, and spit out a different page depending on the user that's logged in.

The problem is that once the username/password gets passed to the web
server, it opens to a new page, the default page. How can I get the HTML
from that page without it opening in the browser?

Thanks for any tips,
James


 
Reply With Quote
 
 
 
 
Stephen
Guest
Posts: n/a
 
      10-24-2003
Hi there ...
JD wrote:
> Hello,
>
> I have a CGI that logs into a a secure site of mine. Basically, all the CGI
> does is send the username and password I have set up, and then the normal
> page opens in my brower. But, I would rather send this HTML to a file, parse
> it, and spit out a different page depending on the user that's logged in.
> [...snip...]


Why don't you just have the CGI look at the username/password and
generate the appropriate page in the first place?

That may seem like a dumb question, so let me recommend--- you might get
a better answer posting in comp.infosystems.www.authoring.cgi. I think
this group has some particular rules about posting, so dig up their faq
first to find out.

Good luck
Stephen

 
Reply With Quote
 
 
 
Reply

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
browser displaying ∫ instead of integral character DKM XML 0 02-03-2007 08:43 PM
send username/password via perl script instead of using browser john brown Perl 2 08-03-2004 12:02 AM
Save as to appear instead of openning file in the browser.... Mel HTML 5 07-18-2004 08:44 AM
How do I get an IE browser window to display when running instead of in the VS IDE? acool ASP .Net 1 06-28-2004 05:54 PM
Send html generated page to a string instead to browser NWx ASP .Net 2 02-17-2004 09:48 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57