Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Applet Install Second Chance

Status
Not open for further replies.

joepeacock

Programmer
Nov 5, 2001
74
US
Hello,

I am using an applet called "AppletFile" for uploading files to a web page. The applet has a feature to redirect the user to an alternate page if they choose to not install the applet when prompted.

On that page, I need to explain that the applet is necessary to use the service, and provide a link to go back to where they were and install the applet.

However, when the user clicks to go to the other page, they are not given the choice to install the applet. They are just bounced back to the alternate page. I tried a javascript back link and a direct link to the page, with the same results. I can get the install security warning to come up again if I clear my browser cache, but using meta tags to prevent the page from caching in the first place is not working.

Are there any tricks I don't know about to throw the security warning every time the applet tries to run if it hasn't been installed yet?

Thanks,
Joe
 
Can you clarify this:

"The applet has a feature to redirect the user to an alternate page if they choose to not install the applet when prompted"

It can't be the applet that has the feature, since it hasn't been installed yet. I can't find an attribute of the APPLET html tag to bounce a user to another page. So what exactly is doing it? Is this something the browser does?
 
That's a good point. I guess I'm not sure how exactly that works, then. But it does work. I place this parameter:

<PARAM NAME=&quot;alternateUrl&quot; VALUE=&quot;uploadpermission.cfm&quot;>

In between the <applet></applet> tags and sure enough, if the user chooses to deny permission, they are redirected to &quot;uploadpermission.cfm&quot;

I'd like to link from that page back to the page with the applet and give the user the option to install it again, but I guess the browser remembers the previous decision for that entire browser session.

Joe
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top