Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asptoday_discuss thread: RE: Protect Back/Forward


Message #1 by "N. Rajavelu" <nrajavelu@q...> on Fri, 14 Dec 2001 11:57:56 +0530
Can we control the browser navigations like back, forward? how?



-----Original Message-----

From: Dan Newman [mailto:pc@r...]

Sent: Friday, December 14, 2001 5:11 AM

To: ASPToday Discuss

Subject: [asptoday_discuss] RE: asp programming methodologies





Thanks Mark,



I am eager to move onto to learning asp.net and getting into the object

oriented approach therein.



Unfortunately the client I am working for right now, wants just ASP.



With ASP it doesn't seem easy to use a single page approach -- that I think

is fairly common with Coldfusion. In this approach a single, say index.cfm,

page is hit every time by the user and content is loaded in according to

what variables are passed into the page. The content is loaded with

CFINCLUDE statements. This works well, because CFINCLUDES are not executed

before all other code in Coldfusion as they are in ASP. The problem with ASP

in this area, is that #include s all get run on every page. A Coldfusion

page may have 30 CFINCLUDEs, but only actually execute 1. In ASP, all 30

would run no matter what -- making less than stellar performance for this

sort technique.



So I am using #include s in my ASP application -- but rather than a single

page approach with tons of them, I am using multiple pages-- 1 per each

major block of content. Can't see any other approach, but it's cool.



Anyway, just food for thoughts ...



Am looking forward to ASP.NET though -- let us know it goes for you.



Dan





> Hi Daniel,

>

> I'm not familiar with Cold Fusion although I have used a product called

> Tango which I think is not dissimilar, and have been well used to the

> technique of include files!

>

> Writing applications in .net is a very different mindset to

> Coldfusion/Tango. The architecture of the entire environment is fully

object

> orientated. As a result it's possible to create "controls" (like included

> bits of HTML) that can do more - for example, attaching code and

behaviours

> and thus building up an ASP page (or a whole site) from "snippets" of code

> wrapped into classes. This could include common functionality and/or

> presentation.

>

> The Wrox book "Beginning ASP.Net Using C#" touches on the subject in a

later

> chapter, I'm quite new to it myself but will be trying out the techniques

> over the next few weeks. So while I can point you at some of the ideas, I

> can't advise further yet except to say that I found tha above book very

> helpful to get started.

>

> Best Regards,

> Mark

>

> -----Original Message-----

> From: Daniel Newman [mailto:pc@r...]

> Sent: 12 December 2001 23:27

> To: ASPToday Discuss

> Subject: [asptoday_discuss] asp programming methodologies

>

>

> I am an experienced Coldfusion programmer, new to ASP. I often used a

> method called FUSEBOX programming which simply used a switch statement and

> INCLUDES to architect a site.

>

> In Coldfusion a CFINCLUDE statement does not get executed before all other

> scripts as does an asp #include. This means that files can be

> programatically included making it easy to separate out functionality and

> layout in multiple files.

>

> I am looking for some system that might be equivalent as I learn ASP. How

> do people architect sites with lots of different pages. Is there no way to

> center a site around the default.asp page, inserting content as needed by

> the logic flow of the application? Where can I find some strategies?

>

> THX!!!

>

>



Message #2 by "Louis T Kklauder Jr" <lklauder@w...> on Fri, 14 Dec 2001 11:54:38 -0500
I needed to do that, and someone pointed me to Microsoft's hta program.

It renders html the same way that IE does but does not offer the user

any of the tool bar items except minimize, full_screen, and close. It

worked very nicely for me.



Lou Klauder



-----Original Message-----

From: N. Rajavelu [mailto:nrajavelu@q...] 

Sent: Friday, December 14, 2001 1:28 AM

To: ASPToday Discuss

Subject: [asptoday_discuss] RE: Protect Back/Forward



Can we control the browser navigations like back, forward? how?



-----Original Message-----

From: Dan Newman [mailto:pc@r...]

Sent: Friday, December 14, 2001 5:11 AM

To: ASPToday Discuss

Subject: [asptoday_discuss] RE: asp programming methodologies





Thanks Mark,



I am eager to move onto to learning asp.net and getting into the object

oriented approach therein.



Unfortunately the client I am working for right now, wants just ASP.



With ASP it doesn't seem easy to use a single page approach -- that I

think

is fairly common with Coldfusion. In this approach a single, say

index.cfm,

page is hit every time by the user and content is loaded in according to

what variables are passed into the page. The content is loaded with

CFINCLUDE statements. This works well, because CFINCLUDES are not

executed

before all other code in Coldfusion as they are in ASP. The problem with

ASP

in this area, is that #include s all get run on every page. A Coldfusion

page may have 30 CFINCLUDEs, but only actually execute 1. In ASP, all 30

would run no matter what -- making less than stellar performance for

this

sort technique.



So I am using #include s in my ASP application -- but rather than a

single

page approach with tons of them, I am using multiple pages-- 1 per each

major block of content. Can't see any other approach, but it's cool.



Anyway, just food for thoughts ...



Am looking forward to ASP.NET though -- let us know it goes for you.



Dan





> Hi Daniel,

>

> I'm not familiar with Cold Fusion although I have used a product

called

> Tango which I think is not dissimilar, and have been well used to the

> technique of include files!

>

> Writing applications in .net is a very different mindset to

> Coldfusion/Tango. The architecture of the entire environment is fully

object

> orientated. As a result it's possible to create "controls" (like

included

> bits of HTML) that can do more - for example, attaching code and

behaviours

> and thus building up an ASP page (or a whole site) from "snippets" of

code

> wrapped into classes. This could include common functionality and/or

> presentation.

>

> The Wrox book "Beginning ASP.Net Using C#" touches on the subject in a

later

> chapter, I'm quite new to it myself but will be trying out the

techniques

> over the next few weeks. So while I can point you at some of the

ideas, I

> can't advise further yet except to say that I found tha above book

very

> helpful to get started.

>

> Best Regards,

> Mark

>

> -----Original Message-----

> From: Daniel Newman [mailto:pc@r...]

> Sent: 12 December 2001 23:27

> To: ASPToday Discuss

> Subject: [asptoday_discuss] asp programming methodologies

>

>

> I am an experienced Coldfusion programmer, new to ASP. I often used a

> method called FUSEBOX programming which simply used a switch statement

and

> INCLUDES to architect a site.

>

> In Coldfusion a CFINCLUDE statement does not get executed before all

other

> scripts as does an asp #include. This means that files can be

> programatically included making it easy to separate out functionality

and

> layout in multiple files.

>

> I am looking for some system that might be equivalent as I learn ASP.

How

> do people architect sites with lots of different pages. Is there no

way to

> center a site around the default.asp page, inserting content as needed

by

> the logic flow of the application? Where can I find some strategies?

>

> THX!!!

>

>



Message #3 by "Patrick" <patrick00@n...> on Sat, 15 Dec 2001 08:36:56 -0000
Which HTA program was it and where is the download page?

----- Original Message ----- 

From: "Louis T Kklauder Jr" <lklauder@w...>

To: "ASPToday Discuss" <asptoday_discuss@p...>

Sent: Friday, December 14, 2001 4:54 PM

Subject: [asptoday_discuss] RE: Protect Back/Forward





> I needed to do that, and someone pointed me to Microsoft's hta program.

> It renders html the same way that IE does but does not offer the user

> any of the tool bar items except minimize, full_screen, and close. It

> worked very nicely for me.

> 

> Lou Klauder

> 

> -----Original Message-----

> From: N. Rajavelu [mailto:nrajavelu@q...] 

> Sent: Friday, December 14, 2001 1:28 AM

> To: ASPToday Discuss

> Subject: [asptoday_discuss] RE: Protect Back/Forward

> 

> Can we control the browser navigations like back, forward? how?

> 

> -----Original Message-----

> From: Dan Newman [mailto:pc@r...]

> Sent: Friday, December 14, 2001 5:11 AM

> To: ASPToday Discuss

> Subject: [asptoday_discuss] RE: asp programming methodologies

> 

> 

> Thanks Mark,

> 

> I am eager to move onto to learning asp.net and getting into the object

> oriented approach therein.

> 

> Unfortunately the client I am working for right now, wants just ASP.

> 

> With ASP it doesn't seem easy to use a single page approach -- that I

> think

> is fairly common with Coldfusion. In this approach a single, say

> index.cfm,

> page is hit every time by the user and content is loaded in according to

> what variables are passed into the page. The content is loaded with

> CFINCLUDE statements. This works well, because CFINCLUDES are not

> executed

> before all other code in Coldfusion as they are in ASP. The problem with

> ASP

> in this area, is that #include s all get run on every page. A Coldfusion

> page may have 30 CFINCLUDEs, but only actually execute 1. In ASP, all 30

> would run no matter what -- making less than stellar performance for

> this

> sort technique.

> 

> So I am using #include s in my ASP application -- but rather than a

> single

> page approach with tons of them, I am using multiple pages-- 1 per each

> major block of content. Can't see any other approach, but it's cool.

> 

> Anyway, just food for thoughts ...

> 

> Am looking forward to ASP.NET though -- let us know it goes for you.

> 

> Dan

> 

> 

> > Hi Daniel,

> >

> > I'm not familiar with Cold Fusion although I have used a product

> called

> > Tango which I think is not dissimilar, and have been well used to the

> > technique of include files!

> >

> > Writing applications in .net is a very different mindset to

> > Coldfusion/Tango. The architecture of the entire environment is fully

> object

> > orientated. As a result it's possible to create "controls" (like

> included

> > bits of HTML) that can do more - for example, attaching code and

> behaviours

> > and thus building up an ASP page (or a whole site) from "snippets" of

> code

> > wrapped into classes. This could include common functionality and/or

> > presentation.

> >

> > The Wrox book "Beginning ASP.Net Using C#" touches on the subject in a

> later

> > chapter, I'm quite new to it myself but will be trying out the

> techniques

> > over the next few weeks. So while I can point you at some of the

> ideas, I

> > can't advise further yet except to say that I found tha above book

> very

> > helpful to get started.

> >

> > Best Regards,

> > Mark

> >

> > -----Original Message-----

> > From: Daniel Newman [mailto:pc@r...]

> > Sent: 12 December 2001 23:27

> > To: ASPToday Discuss

> > Subject: [asptoday_discuss] asp programming methodologies

> >

> >

> > I am an experienced Coldfusion programmer, new to ASP. I often used a

> > method called FUSEBOX programming which simply used a switch statement

> and

> > INCLUDES to architect a site.

> >

> > In Coldfusion a CFINCLUDE statement does not get executed before all

> other

> > scripts as does an asp #include. This means that files can be

> > programatically included making it easy to separate out functionality

> and

> > layout in multiple files.

> >

> > I am looking for some system that might be equivalent as I learn ASP.

> How

> > do people architect sites with lots of different pages. Is there no

> way to

> > center a site around the default.asp page, inserting content as needed

> by

> > the logic flow of the application? Where can I find some strategies?

> >

> > THX!!!

> >

> >

> 

> 



Message #4 by "Louis T Kklauder Jr" <lklauder@w...> on Sat, 15 Dec 2001 09:40:37 -0500
If you search in the MSDN Library for "hta", the article at the top of

the list of references found is titled "Writing HTML Applications for

Internet Explorer 5.0" by Scott Roberts. It has a good explanation. I

imagine you can also find it on the Microsoft web site.



Lou Klauder



-----Original Message-----

From: Patrick [mailto:patrick00@n...] 

Sent: Saturday, December 15, 2001 3:37 AM

To: ASPToday Discuss

Subject: [asptoday_discuss] RE: Protect Back/Forward



Which HTA program was it and where is the download page?

----- Original Message ----- 

From: "Louis T Kklauder Jr" <lklauder@w...>

To: "ASPToday Discuss" <asptoday_discuss@p...>

Sent: Friday, December 14, 2001 4:54 PM

Subject: [asptoday_discuss] RE: Protect Back/Forward





> I needed to do that, and someone pointed me to Microsoft's hta

program.

> It renders html the same way that IE does but does not offer the user

> any of the tool bar items except minimize, full_screen, and close. It

> worked very nicely for me.

> 

> Lou Klauder

> 

> -----Original Message-----

> From: N. Rajavelu [mailto:nrajavelu@q...] 

> Sent: Friday, December 14, 2001 1:28 AM

> To: ASPToday Discuss

> Subject: [asptoday_discuss] RE: Protect Back/Forward

> 

> Can we control the browser navigations like back, forward? how?

> 

> -----Original Message-----

> From: Dan Newman [mailto:pc@r...]

> Sent: Friday, December 14, 2001 5:11 AM

> To: ASPToday Discuss

> Subject: [asptoday_discuss] RE: asp programming methodologies

> 

> 

> Thanks Mark,

> 

> I am eager to move onto to learning asp.net and getting into the

object

> oriented approach therein.

> 

> Unfortunately the client I am working for right now, wants just ASP.

> 

> With ASP it doesn't seem easy to use a single page approach -- that I

> think

> is fairly common with Coldfusion. In this approach a single, say

> index.cfm,

> page is hit every time by the user and content is loaded in according

to

> what variables are passed into the page. The content is loaded with

> CFINCLUDE statements. This works well, because CFINCLUDES are not

> executed

> before all other code in Coldfusion as they are in ASP. The problem

with

> ASP

> in this area, is that #include s all get run on every page. A

Coldfusion

> page may have 30 CFINCLUDEs, but only actually execute 1. In ASP, all

30

> would run no matter what -- making less than stellar performance for

> this

> sort technique.

> 

> So I am using #include s in my ASP application -- but rather than a

> single

> page approach with tons of them, I am using multiple pages-- 1 per

each

> major block of content. Can't see any other approach, but it's cool.

> 

> Anyway, just food for thoughts ...

> 

> Am looking forward to ASP.NET though -- let us know it goes for you.

> 

> Dan

> 

> 

> > Hi Daniel,

> >

> > I'm not familiar with Cold Fusion although I have used a product

> called

> > Tango which I think is not dissimilar, and have been well used to

the

> > technique of include files!

> >

> > Writing applications in .net is a very different mindset to

> > Coldfusion/Tango. The architecture of the entire environment is

fully

> object

> > orientated. As a result it's possible to create "controls" (like

> included

> > bits of HTML) that can do more - for example, attaching code and

> behaviours

> > and thus building up an ASP page (or a whole site) from "snippets"

of

> code

> > wrapped into classes. This could include common functionality and/or

> > presentation.

> >

> > The Wrox book "Beginning ASP.Net Using C#" touches on the subject in

a

> later

> > chapter, I'm quite new to it myself but will be trying out the

> techniques

> > over the next few weeks. So while I can point you at some of the

> ideas, I

> > can't advise further yet except to say that I found tha above book

> very

> > helpful to get started.

> >

> > Best Regards,

> > Mark

> >

> > -----Original Message-----

> > From: Daniel Newman [mailto:pc@r...]

> > Sent: 12 December 2001 23:27

> > To: ASPToday Discuss

> > Subject: [asptoday_discuss] asp programming methodologies

> >

> >

> > I am an experienced Coldfusion programmer, new to ASP. I often used

a

> > method called FUSEBOX programming which simply used a switch

statement

> and

> > INCLUDES to architect a site.

> >

> > In Coldfusion a CFINCLUDE statement does not get executed before all

> other

> > scripts as does an asp #include. This means that files can be

> > programatically included making it easy to separate out

functionality

> and

> > layout in multiple files.

> >

> > I am looking for some system that might be equivalent as I learn

ASP.

> How

> > do people architect sites with lots of different pages. Is there no

> way to

> > center a site around the default.asp page, inserting content as

needed

> by

> > the logic flow of the application? Where can I find some strategies?

> >

> > THX!!!

> >

> >

> 

> 



Message #5 by "N. Rajavelu" <nrajavelu@q...> on Sun, 16 Dec 2001 12:31:45 +0530
Hi Louis,

thanks a lot this is the one i reqd, but tell me in my case the html gets

generated though asp, then how should we mention the HTA application tag and

intial page of my web site. I am very new to this web development. pls guid

me



-----Original Message-----

From: Louis T Kklauder Jr [mailto:lklauder@w...]

Sent: Friday, December 14, 2001 10:25 PM

To: ASPToday Discuss

Subject: [asptoday_discuss] RE: Protect Back/Forward





I needed to do that, and someone pointed me to Microsoft's hta program.

It renders html the same way that IE does but does not offer the user

any of the tool bar items except minimize, full_screen, and close. It

worked very nicely for me.



Lou Klauder



-----Original Message-----

From: N. Rajavelu [mailto:nrajavelu@q...] 

Sent: Friday, December 14, 2001 1:28 AM

To: ASPToday Discuss

Subject: [asptoday_discuss] RE: Protect Back/Forward



Can we control the browser navigations like back, forward? how?



-----Original Message-----

From: Dan Newman [mailto:pc@r...]

Sent: Friday, December 14, 2001 5:11 AM

To: ASPToday Discuss

Subject: [asptoday_discuss] RE: asp programming methodologies





Thanks Mark,



I am eager to move onto to learning asp.net and getting into the object

oriented approach therein.



Unfortunately the client I am working for right now, wants just ASP.



With ASP it doesn't seem easy to use a single page approach -- that I

think

is fairly common with Coldfusion. In this approach a single, say

index.cfm,

page is hit every time by the user and content is loaded in according to

what variables are passed into the page. The content is loaded with

CFINCLUDE statements. This works well, because CFINCLUDES are not

executed

before all other code in Coldfusion as they are in ASP. The problem with

ASP

in this area, is that #include s all get run on every page. A Coldfusion

page may have 30 CFINCLUDEs, but only actually execute 1. In ASP, all 30

would run no matter what -- making less than stellar performance for

this

sort technique.



So I am using #include s in my ASP application -- but rather than a

single

page approach with tons of them, I am using multiple pages-- 1 per each

major block of content. Can't see any other approach, but it's cool.



Anyway, just food for thoughts ...



Am looking forward to ASP.NET though -- let us know it goes for you.



Dan





> Hi Daniel,

>

> I'm not familiar with Cold Fusion although I have used a product

called

> Tango which I think is not dissimilar, and have been well used to the

> technique of include files!

>

> Writing applications in .net is a very different mindset to

> Coldfusion/Tango. The architecture of the entire environment is fully

object

> orientated. As a result it's possible to create "controls" (like

included

> bits of HTML) that can do more - for example, attaching code and

behaviours

> and thus building up an ASP page (or a whole site) from "snippets" of

code

> wrapped into classes. This could include common functionality and/or

> presentation.

>

> The Wrox book "Beginning ASP.Net Using C#" touches on the subject in a

later

> chapter, I'm quite new to it myself but will be trying out the

techniques

> over the next few weeks. So while I can point you at some of the

ideas, I

> can't advise further yet except to say that I found tha above book

very

> helpful to get started.

>

> Best Regards,

> Mark

>

> -----Original Message-----

> From: Daniel Newman [mailto:pc@r...]

> Sent: 12 December 2001 23:27

> To: ASPToday Discuss

> Subject: [asptoday_discuss] asp programming methodologies

>

>

> I am an experienced Coldfusion programmer, new to ASP. I often used a

> method called FUSEBOX programming which simply used a switch statement

and

> INCLUDES to architect a site.

>

> In Coldfusion a CFINCLUDE statement does not get executed before all

other

> scripts as does an asp #include. This means that files can be

> programatically included making it easy to separate out functionality

and

> layout in multiple files.

>

> I am looking for some system that might be equivalent as I learn ASP.

How

> do people architect sites with lots of different pages. Is there no

way to

> center a site around the default.asp page, inserting content as needed

by

> the logic flow of the application? Where can I find some strategies?

>

> THX!!!

>

>



Message #6 by "Louis T Kklauder Jr" <lklauder@w...> on Sun, 16 Dec 2001 09:05:18 -0500
Check the Microsoft Developer Network Web site and search for hta or

Internet Explorer Application for examples.



Lou Klauder



-----Original Message-----

From: N. Rajavelu [mailto:nrajavelu@q...] 

Sent: Sunday, December 16, 2001 2:02 AM

To: ASPToday Discuss

Subject: [asptoday_discuss] RE: Protect Back/Forward



Hi Louis,

thanks a lot this is the one i reqd, but tell me in my case the html

gets

generated though asp, then how should we mention the HTA application tag

and

intial page of my web site. I am very new to this web development. pls

guid

me



-----Original Message-----

From: Louis T Kklauder Jr [mailto:lklauder@w...]

Sent: Friday, December 14, 2001 10:25 PM

To: ASPToday Discuss

Subject: [asptoday_discuss] RE: Protect Back/Forward





I needed to do that, and someone pointed me to Microsoft's hta program.

It renders html the same way that IE does but does not offer the user

any of the tool bar items except minimize, full_screen, and close. It

worked very nicely for me.



Lou Klauder



-----Original Message-----

From: N. Rajavelu [mailto:nrajavelu@q...] 

Sent: Friday, December 14, 2001 1:28 AM

To: ASPToday Discuss

Subject: [asptoday_discuss] RE: Protect Back/Forward



Can we control the browser navigations like back, forward? how?



-----Original Message-----

From: Dan Newman [mailto:pc@r...]

Sent: Friday, December 14, 2001 5:11 AM

To: ASPToday Discuss

Subject: [asptoday_discuss] RE: asp programming methodologies





Thanks Mark,



I am eager to move onto to learning asp.net and getting into the object

oriented approach therein.



Unfortunately the client I am working for right now, wants just ASP.



With ASP it doesn't seem easy to use a single page approach -- that I

think

is fairly common with Coldfusion. In this approach a single, say

index.cfm,

page is hit every time by the user and content is loaded in according to

what variables are passed into the page. The content is loaded with

CFINCLUDE statements. This works well, because CFINCLUDES are not

executed

before all other code in Coldfusion as they are in ASP. The problem with

ASP

in this area, is that #include s all get run on every page. A Coldfusion

page may have 30 CFINCLUDEs, but only actually execute 1. In ASP, all 30

would run no matter what -- making less than stellar performance for

this

sort technique.



So I am using #include s in my ASP application -- but rather than a

single

page approach with tons of them, I am using multiple pages-- 1 per each

major block of content. Can't see any other approach, but it's cool.



Anyway, just food for thoughts ...



Am looking forward to ASP.NET though -- let us know it goes for you.



Dan





> Hi Daniel,

>

> I'm not familiar with Cold Fusion although I have used a product

called

> Tango which I think is not dissimilar, and have been well used to the

> technique of include files!

>

> Writing applications in .net is a very different mindset to

> Coldfusion/Tango. The architecture of the entire environment is fully

object

> orientated. As a result it's possible to create "controls" (like

included

> bits of HTML) that can do more - for example, attaching code and

behaviours

> and thus building up an ASP page (or a whole site) from "snippets" of

code

> wrapped into classes. This could include common functionality and/or

> presentation.

>

> The Wrox book "Beginning ASP.Net Using C#" touches on the subject in a

later

> chapter, I'm quite new to it myself but will be trying out the

techniques

> over the next few weeks. So while I can point you at some of the

ideas, I

> can't advise further yet except to say that I found tha above book

very

> helpful to get started.

>

> Best Regards,

> Mark

>

> -----Original Message-----

> From: Daniel Newman [mailto:pc@r...]

> Sent: 12 December 2001 23:27

> To: ASPToday Discuss

> Subject: [asptoday_discuss] asp programming methodologies

>

>

> I am an experienced Coldfusion programmer, new to ASP. I often used a

> method called FUSEBOX programming which simply used a switch statement

and

> INCLUDES to architect a site.

>

> In Coldfusion a CFINCLUDE statement does not get executed before all

other

> scripts as does an asp #include. This means that files can be

> programatically included making it easy to separate out functionality

and

> layout in multiple files.

>

> I am looking for some system that might be equivalent as I learn ASP.

How

> do people architect sites with lots of different pages. Is there no

way to

> center a site around the default.asp page, inserting content as needed

by

> the logic flow of the application? Where can I find some strategies?

>

> THX!!!

>

>




  Return to Index