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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can ASP write to the Client Registry?

Status
Not open for further replies.

skeamy

Programmer
Apr 6, 2000
23
GB
I would like to store the position of the Explorer window on the screen so that next time the app is run the window appears in the same position.<br>My first idea is to write to the client registry..is this possible from an ASP page? or is there an alternate method you can come up with<br><br>Thanks
 
um, in the end its all HTML when they get it downloaded, also you can only change within the document, not outside of the document window, if they allowed that, they would already have patches, and bug fixes to repair that, it's important to keep in mind, internet apps, or website have no permision at all to alter the user's system.(and no you cant do it in Java applet, thats even more restrictive) <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>Experienced in : C++(both VC++ and Borland),VB1(dos) thru VB6, Delphi 3 pro, HTML, Visual InterDev 6(ASP(WebProgramming/Vbscript)<br>
 
Dear skeamy,<br><br>You need to try and get a clear understanding of the client/server architecture. ASP - Active SERVER Pages, runs on the server, therefore you can't do ANYTHING on the client from ASP.<br><br>&gt; write to the client registry<br><br>The Browser security model is basically founded in the concept that no writing can be done from a web page to the local client machine. Some browsers support the notion of 'signed' applets and of course there are ActiveX controls that are 'trusted'. All of these allow the user to 'Just Say No'. Without that type of support you can't write to anything on the client machine.<br><br>Good luck<br>-pete<br><br>
 
Okay, so all these people have told you how you can't do it, I'm gonna tell you how you can.<br><br>Set a cookie with ASP and then next time they hit the page, Read the cookie value and, based on that cookie value, write some client side JavaScript that will reposition the window as the page loads.<br><br>Viola, a window with state.<br><br>Happy programming.
 
that still wouldnt access the client's registry. <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>Experienced in : C++(both VC++ and Borland),VB1(dos) thru VB6, Delphi 3 pro, HTML, Visual InterDev 6(ASP(WebProgramming/Vbscript)<br>
 
<br>&gt; Okay, so all these people have told you how you can't do it, I'm gonna tell you how you can.<br><br><br>Okay, I'm waiting.... NOT!<br><br>Also my post DID NOT say &quot;you can't&quot; do it. It specifically mentions ActiveX controls.<br><br>NEXT!<br><br>-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top