473,327 Members | 1,920 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

Detecting Flash with ASP

Hi All

I have a Javascript to detect whether a client's browser has flash
installed, but as so many people are putting me off relying on Javascript,
could you please let me know if you know how to detect whether a browser has
flash installed using ASP.

Many thanks.

Robbie
Jul 19 '05 #1
6 3134
I would assume not, ASP is server side the flash program will be client
side, the only way you will find out is through client side script

"Astra" <in**@NoEmail.com> wrote in message
news:eI*************@TK2MSFTNGP09.phx.gbl...
Hi All

I have a Javascript to detect whether a client's browser has flash
installed, but as so many people are putting me off relying on Javascript,
could you please let me know if you know how to detect whether a browser has flash installed using ASP.

Many thanks.

Robbie

Jul 19 '05 #2
Put a Flash piece on a page that requests an ASP script on your site. Have
the script set a session variable. If the script runs then Flash is enabled.
Otherwise it is not.

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Astra" <in**@NoEmail.com> wrote in message
news:eI*************@TK2MSFTNGP09.phx.gbl...
Hi All

I have a Javascript to detect whether a client's browser has flash
installed, but as so many people are putting me off relying on Javascript,
could you please let me know if you know how to detect whether a browser has flash installed using ASP.

Many thanks.

Robbie

Jul 19 '05 #3
Can Flash set cookie? If so, then have the Flash app set a cookie, and then
have ASP check for the cookie.

-Bill.
"Mark Schupp" <ms*****@ielearning.com> wrote in message
news:O9**************@TK2MSFTNGP10.phx.gbl...
Put a Flash piece on a page that requests an ASP script on your site. Have
the script set a session variable. If the script runs then Flash is enabled. Otherwise it is not.

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Astra" <in**@NoEmail.com> wrote in message
news:eI*************@TK2MSFTNGP09.phx.gbl...
Hi All

I have a Javascript to detect whether a client's browser has flash
installed, but as so many people are putting me off relying on Javascript, could you please let me know if you know how to detect whether a browser

has
flash installed using ASP.

Many thanks.

Robbie


Jul 19 '05 #4
Why not having a Client Side "JavaScript" check the ability to run
Flash...let the client script set a cookie and read that cookie from ASP

Sven

"Bill" <no*****@fooemail.com> skrev i meddelandet
news:%2******************@TK2MSFTNGP11.phx.gbl...
Can Flash set cookie? If so, then have the Flash app set a cookie, and
then
have ASP check for the cookie.

-Bill.
"Mark Schupp" <ms*****@ielearning.com> wrote in message
news:O9**************@TK2MSFTNGP10.phx.gbl...
Put a Flash piece on a page that requests an ASP script on your site.
Have
the script set a session variable. If the script runs then Flash is

enabled.
Otherwise it is not.

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Astra" <in**@NoEmail.com> wrote in message
news:eI*************@TK2MSFTNGP09.phx.gbl...
> Hi All
>
> I have a Javascript to detect whether a client's browser has flash
> installed, but as so many people are putting me off relying on Javascript, > could you please let me know if you know how to detect whether a
> browser

has
> flash installed using ASP.
>
> Many thanks.
>
> Robbie
>
>



Jul 19 '05 #5
Hi Guys

Many thanks for the replies and sorry for the delay, I've basically been
off-line.

The reason I wanted to check for a flash plugin using ASP is because with
the advent of Win XP SP2, the joe doe visitor may receive an overbaked
microsoft warning saying that it has blocked harmful scripting when all I
wanted to do was use a javascript doc.write or location.href redirect to
auto-point the visitor to a flash or non-flash site.

Do you know of a way round this problem in Javascript?

I don't want to go down the age old route of giving a 'Flash site' and
'non-Flash Site' button option. I want it to be auto.

Thanks

Laphan
Sven Pernils <sv**********@bonetmail.com> wrote in message
news:On**************@tk2msftngp13.phx.gbl...
Why not having a Client Side "JavaScript" check the ability to run
Flash...let the client script set a cookie and read that cookie from ASP

Sven

"Bill" <no*****@fooemail.com> skrev i meddelandet
news:%2******************@TK2MSFTNGP11.phx.gbl...
Can Flash set cookie? If so, then have the Flash app set a cookie, and
then
have ASP check for the cookie.

-Bill.
"Mark Schupp" <ms*****@ielearning.com> wrote in message
news:O9**************@TK2MSFTNGP10.phx.gbl...
Put a Flash piece on a page that requests an ASP script on your site.
Have
the script set a session variable. If the script runs then Flash is

enabled.
Otherwise it is not.

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Astra" <in**@NoEmail.com> wrote in message
news:eI*************@TK2MSFTNGP09.phx.gbl...
> Hi All
>
> I have a Javascript to detect whether a client's browser has flash
> installed, but as so many people are putting me off relying on Javascript, > could you please let me know if you know how to detect whether a
> browser

has
> flash installed using ASP.
>
> Many thanks.
>
> Robbie
>
>





Jul 21 '05 #6
Unfortunately, the way to "detect" a plug-in is to try and run/instantiate
it. You can't do this from ASP! ASP runs on the server. To detect a
client-side component, you need to run client-side code. There is no sneaky
way around this. Your users will either trust your site and hit OK, or they
won't. Or, you could develop your site without Flash.

http://www.aspfaq.com/2013

--
http://www.aspfaq.com/
(Reverse address to reply.)


"Laphan" <ne**@DoNotEmailMe.co.uk> wrote in message
news:OB**************@TK2MSFTNGP09.phx.gbl...
Hi Guys

Many thanks for the replies and sorry for the delay, I've basically been
off-line.

The reason I wanted to check for a flash plugin using ASP is because with
the advent of Win XP SP2, the joe doe visitor may receive an overbaked
microsoft warning saying that it has blocked harmful scripting when all I
wanted to do was use a javascript doc.write or location.href redirect to
auto-point the visitor to a flash or non-flash site.

Do you know of a way round this problem in Javascript?

I don't want to go down the age old route of giving a 'Flash site' and
'non-Flash Site' button option. I want it to be auto.

Thanks

Laphan
Sven Pernils <sv**********@bonetmail.com> wrote in message
news:On**************@tk2msftngp13.phx.gbl...
Why not having a Client Side "JavaScript" check the ability to run
Flash...let the client script set a cookie and read that cookie from ASP

Sven

"Bill" <no*****@fooemail.com> skrev i meddelandet
news:%2******************@TK2MSFTNGP11.phx.gbl...
Can Flash set cookie? If so, then have the Flash app set a cookie, and
then
have ASP check for the cookie.

-Bill.
"Mark Schupp" <ms*****@ielearning.com> wrote in message
news:O9**************@TK2MSFTNGP10.phx.gbl...
Put a Flash piece on a page that requests an ASP script on your site.
Have
the script set a session variable. If the script runs then Flash is

enabled.
Otherwise it is not.

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Astra" <in**@NoEmail.com> wrote in message
news:eI*************@TK2MSFTNGP09.phx.gbl...
> Hi All
>
> I have a Javascript to detect whether a client's browser has flash
> installed, but as so many people are putting me off relying on

Javascript,
> could you please let me know if you know how to detect whether a
> browser
has
> flash installed using ASP.
>
> Many thanks.
>
> Robbie
>
>



Jul 21 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: RootShell | last post by:
Hello I need to have a way to check if the user as refreshed the current page. Is there any way in PHP to do this? Here's the full facts, I have a JavaScript running that is merely a 30...
3
by: Alessandro Crugnola *sephiroth* | last post by:
Hi, i'm using wxPython and wxTextStyled. How can I intercept document changes for active documents (for example modified with others external editors)? thanks in advance -- Alessandro...
1
by: Ken Tuck | last post by:
Is it possible to detect flash and get the flash version with javascript in IE? If so, how? -- Cheers! Ken Tuck EyeCreate Inc. Web Site Design | Online Applications | E-Commerce
2
by: Frances Del Rio | last post by:
pls how do I detect if .swf movie is playing or has stopped? .swf is in a pop-up, I would like to trigger a window.close() once Flash movie has stopped playing.. (pls don't lecture me about...
1
by: Sharkbait | last post by:
We are trying to record browser information when a customer comes to our site. I have been able to get most basic browser information using both asp and asp.net. The only thing I’m missing is the...
3
by: regtrashcan | last post by:
I have a webpage that detects whether Shockwave Player is installed and the version number. The javascript/vbscript that I use has worked fine until the latest release of the Shockwave Player. I am...
1
by: jediknight | last post by:
Hi All, I am very new to ASP.NET but have used c# for windows very much. I would like to display an imagemap which has the background as the map of a city centre and icons denoting important...
2
manuelgk
by: manuelgk | last post by:
Hello again, I just have a question about detect anything made in Flash with javascript, so I just thinking about detect a button made in Flash with a Script made in JS. This is beacuse the last...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.