Solved

LWP - Pretend to have flash installed

Posted on 2006-11-07
5
309 Views
Last Modified: 2008-01-16
Hi,

How do I let LWP pretend to have Flash installed?

I'm trying to retrieve a page but another page is being displayed due to flash not being installed.

Greeting.
0
Comment
Question by:TonyJix
  • 2
  • 2
5 Comments
 
LVL 9

Expert Comment

by:Suhas .
ID: 17891100
to check whether the flash is installed or not,
please go through the link which contains script,

http://www.quirksmode.org/js/flash.html
0
 
LVL 2

Expert Comment

by:mattaustin
ID: 17891485
The only way i know to test if flash is installed is javascript....so there probly setting a form varrible... ex: hasflash=1. Can you post the url your trying to get info from maybe we can help more?
0
 

Author Comment

by:TonyJix
ID: 17891584
No..

What I mean is that I am trying to let LWP get a page. The page that it is trying to get requires Flash.
Since LWP does not have Flash installed (..) , the end-page will send the LWP to some "install Flash first" page.

I want LWP to pretend to have Flash installed.

Greetings.
0
 
LVL 2

Accepted Solution

by:
mattaustin earned 500 total points
ID: 17891684
The check for flash has to be done client side.. so the page your are trying to view..probably sets a cookie or a form variable to tell the server side script you have flash and the show/hide the content.  You can use a program like HTTPWatch.. to see what exactly is being sent.   My guess would be a cookie. Then in LWP you can "hard code" that cookies into your lwp request.  Like I said it would be more help if we knew the url,  and I could tell you exactly what being sent to tell it you had flash.
0
 

Author Comment

by:TonyJix
ID: 17891713
Nice program.. I will be able to figure it out using that.

Greeting.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

There are many situations when we need to display the data in sorted order. For example: Student details by name or by rank or by total marks etc. If you are working on data driven based projects then you will use sorting techniques very frequently.…
In the distant past (last year) I hacked together a little toy that would allow a couple of Manager types to query, preview, and extract data from a number of MongoDB instances, to their tool of choice: Excel (http://dilbert.com/strips/comic/2007-08…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question