Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 3rd, 2007, 12:05 PM
Authorized User
 
Join Date: Aug 2006
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default ... how to load a page without a trace ???

Is it possible somehow to load a page so that nobody would see it. For example an invisible popup window, but it should not be visible in the source code too. It should be done in the c#, how much I know the codebehind cannot be seen be the user, or?

Any idea?

Thx.
 
Old September 3rd, 2007, 08:37 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

You can certainly load a page so that it's not visible to the user, using a hidden frame or iframe. You could also use client callbacks (ajax type) to call to pages that don't change your user interface.

What source code are you trying to hide? The user certainly won't see the C# source code. But because the browser has to see the souce HTML that the server returns there's always a way for the user to see that source if they know how to get it.

-Peter
 
Old September 4th, 2007, 07:50 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

You can not open a window that is completely invisible to the user; you can use JavaScript to open a window and try to position it off screen but there is no gurantee this will work. (The user will also be able to the window in their Task Bar.)

You could use a 1px X 1px Iframe to load the page but, as peter pointed out, the user still could get at your source.

In any event, this seems somewhat abusive to me, what exactly are you trying to do.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
Technical Editor for:
Professional Search Engine Optimization with ASP.NET

Professional IIS 7 and ASP.NET Integrated Programming

================================================== =========
 
Old September 4th, 2007, 08:53 AM
Authorized User
 
Join Date: Aug 2006
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It is nothing abusive, don't worry :)

I'm just trying to make some advanced statistics.

Planoie what exactly did you mean with "client callbacks"

 
Old September 4th, 2007, 09:10 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

I don't see why advanced stats need to be hidden from the user. Peter is talking about using AJAX to make calls to pages that are not necessarily loaded into the UI.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
Technical Editor for:
Professional Search Engine Optimization with ASP.NET

Professional IIS 7 and ASP.NET Integrated Programming

================================================== =========





Similar Threads
Thread Thread Starter Forum Replies Last Post
page could not be load on browser vivek123 ASP.NET 1.0 and 1.1 Professional 2 August 28th, 2006 05:01 AM
Page won't load data in IE rinventive PHP How-To 8 June 23rd, 2006 10:03 PM
Page Load event qadeer05 ASP.NET 1.0 and 1.1 Basics 5 July 19th, 2004 08:57 AM
Load one page according to the link morpheus Classic ASP Basics 5 November 19th, 2003 03:42 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.