FP2000 changes form action for ASP pages

G

Guest

I'm using FP2000 and have created a number of pages with a form and
originally had the action linked to another HTML page. The linked page I
eventually renamed the file extension to ".ASP" and added VBScript code to
the pages using the MS-Script editor.

Now when I open FP (XP pro, 2002 file extensions) as a web, all the pages
with form action parms gets reset to the current page name. For example I
have a page called "OWNER_DATA.ASP" that has a form with an action
"OWNER_ID.ASP". As soon as I open the web in FP the form action on
OWNER_DATA.ASP is automatically changed to "OWNER_DATA.ASP" instead of
"OWNER_ID.ASP". FP not only changes this action; but, all actions to the page
name the form is on. This issue occurs regardless whether I "touch" an ASP
page in FP or not.

This is now an annoying problem since currently I only have 5 ASP pages with
a form on it. However I will be adding 10-20 more ASP pages in the future so
changing all the actions back to the appropriate page reference will become a
very big problem in the future. Any way to stop FP from resetting the action
value???

Thanks
Jim T.
 
T

Thomas A. Rowe

Then you have not set up the forms correctly. Can provide a URL to one of the pages?

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
G

Guest

Currently I'm working locally until I get through my learning curve and have
more of the web for my small home town finished. I thought I read somewhere
if the "go to" page is in the same directory you do not need to include any
path info.

I have all the ASP pages in a sub-directory named "ASP" under the root
directory (in this case C:\inetpub\wwwroot). My form action statement
therefore only reads the "go to" page (e.g. on the owner_name page, the form
statement reads action="owner_id.asp") since both pages reside in the ASP
directory.

Is this correct or do I need to specify a URL such as action
="http:/localhost/ASP/owner_id".

Thanks
Jim T
 
S

Stefan B Rusynko

No you don't need a full URL (http:/localhost/ASP/owner_id.asp)
- just a relative link to the page (owner_id.asp if the page path is at the same level as your form)
You can use a URL path,
- but that one would not allow the page to work anywhere except in your localhost

Make sure you are working in a server based FP web (http:/localhost/) and not a disc based FP web (C:\inetpub\wwwroot)

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| Currently I'm working locally until I get through my learning curve and have
| more of the web for my small home town finished. I thought I read somewhere
| if the "go to" page is in the same directory you do not need to include any
| path info.
|
| I have all the ASP pages in a sub-directory named "ASP" under the root
| directory (in this case C:\inetpub\wwwroot). My form action statement
| therefore only reads the "go to" page (e.g. on the owner_name page, the form
| statement reads action="owner_id.asp") since both pages reside in the ASP
| directory.
|
| Is this correct or do I need to specify a URL such as action
| ="http:/localhost/ASP/owner_id".
|
| Thanks
| Jim T
|
| "Thomas A. Rowe" wrote:
|
| > Then you have not set up the forms correctly. Can provide a URL to one of the pages?
| >
| > --
| > ==============================================
| > Thomas A. Rowe (Microsoft MVP - FrontPage)
| > ==============================================
| > If you feel your current issue is a results of installing
| > a Service Pack or security update, please contact
| > Microsoft Product Support Services:
| > http://support.microsoft.com
| > If the problem can be shown to have been caused by a
| > security update, then there is usually no charge for the call.
| > ==============================================
| >
| > | > > I'm using FP2000 and have created a number of pages with a form and
| > > originally had the action linked to another HTML page. The linked page I
| > > eventually renamed the file extension to ".ASP" and added VBScript code to
| > > the pages using the MS-Script editor.
| > >
| > > Now when I open FP (XP pro, 2002 file extensions) as a web, all the pages
| > > with form action parms gets reset to the current page name. For example I
| > > have a page called "OWNER_DATA.ASP" that has a form with an action
| > > "OWNER_ID.ASP". As soon as I open the web in FP the form action on
| > > OWNER_DATA.ASP is automatically changed to "OWNER_DATA.ASP" instead of
| > > "OWNER_ID.ASP". FP not only changes this action; but, all actions to the page
| > > name the form is on. This issue occurs regardless whether I "touch" an ASP
| > > page in FP or not.
| > >
| > > This is now an annoying problem since currently I only have 5 ASP pages with
| > > a form on it. However I will be adding 10-20 more ASP pages in the future so
| > > changing all the actions back to the appropriate page reference will become a
| > > very big problem in the future. Any way to stop FP from resetting the action
| > > value???
| > >
| > > Thanks
| > > Jim T.
| >
| >
| >
 
G

Guest

The form actions are still getting reset; however I have found one pattern
that caused the problem.

I my running XP Pro, IIS, FP2000 w/2002 ext. I had been opening my web via
the "open web" option under the file menu. I select "localhost" from the list
which open up the "webroot" directory where my web is stored (I haven't
published yet... still under construction).

To test out one theory, I copied the files and folders under "webroot" to
another directory under a sub directory called Stoneham (my home town which I
writing the web for) in the "My Documents/My Webs" folder. Remember all my
ASP pages are stored under a subdirectory called "ASP" under this directory
(just like the wwwroot web)

I then tested the problem by opened this new set of "hard drive" file(s):
1. TEST: open FP (open file mode) and looked at but not opening any HTML
pages in the Stoneham directory. I then opened an ASP page in the ASP
directory using MS-Script
RESULTS: The action parm did not change in any of the files. (note I've
set some of the actions to include the path (e.g. "/ASP/land.asp") and some
without the path (e.g. "buildings.asp"))

2. TEST: same as one exept open the ASP directory do not open any files
RESULTS: The action parm did not change in any of the files.

3. TEST: Open FP (open file mode) a HTML page but make no changes.
RESULTS: The action parm did not change in any of the files.

4. TEST: Open FP (open file mode) a HTML page and save a change.
RESULTS: The action parm did not change in any of the files.

5. TEST: Open FP (open file mode) an HTML page but make no changes. Use the
folder sidebar to open the ASP directory but do not open any ASP pages.
RESULTS: Openend MS-Script and found the action parm DID CHANGE in the
ASP files.

6. TEST: Reset the action statements in the ASP files using MS-Script and
kept one ASP file open. Opened FP (open file mode) and opened a HTML page but
made no changes. Closed the HTML page and opened the ASP directory but did
not open any files. Exited FP.
RESULTS: A message appeared in the MS-Script that the page had been
change by another application and "do you want to update/refresh the file (as
it appear in MS-Script). The actions WERE CHANGED BY FP.

7. The same results occur when I use the "Open Web" option under the file
menu and select the localhost (inetpub/wwwroot) which has been the way I had
been developing the web (being new at this it is the handiest way to write
the ASP code in the pages and then test in IE browser)

Any thoughts what I am doing that causes the actions to be reset to the page
name itself (e.g. land.asp gets reset to property_data.asp on the
property_data page) when opening the ASP directory. Obviously this is a big
problem as my number of ASP pages grows. I now have about a dozen ASP page
and all but 2 gets reset.

Heres the "calls" to the web pages (the ones with the "**" are the one that
get changed ...

index.html ---- series of html page that eventually leads to:

logon.asp --- the user enters a ID and password and the form action =
check_logon.asp

check_logon.asp --- does not display but simply checks ID & pswd against an
Access-2000 DB, if they are correct gets owner number from the record and
stores as a session variable then uses a redirect to go to

owner_data.asp --- using the session owner number gets the DB record
containing name, address, etc. Form at the bottom of page has
action=owner_id.asp**

owner_id.asp --- get multiple rows from the DB of the property owned by the
owner and displays the rows in a table with a form in each row for user to
select the piece of property they wish to view. The forms' (since build
dynamically at the start of the page) action = property_data.asp**

property_data.asp --- display a 3x2 table with forms in each cell with text
for the different kinds of properties (land, buildings, personal property) an
owner may have, one column of forms with submit buttons is use to go to the
specification pages and the second column with forms allows the user to go to
a page that contains the values for the selected piece of property. The
action(s) on the form(s) would read; land.asp**, buildings.asp**,
personal_property.asp**, land_asmt.asp**, building_asmt.asp**, and
personal_property_asmt.asp**.

I would like to develeop additional ASP pages but need to solve this problem
before I do. Currently I start the development of a page in FP and then if
the page needs code I use MS-Script. Therefor every time I create a new page
in the ASP directory or even open the ASP directory in FP, I have to reenter
all the action statements in all of the pages (except those noted).

I can't believe everyone else that uses FP and Script has this problem; any
ideas what I am doing wrong???

Thanks
Jim T

Stefan B Rusynko said:
No you don't need a full URL (http:/localhost/ASP/owner_id.asp)
- just a relative link to the page (owner_id.asp if the page path is at the same level as your form)
You can use a URL path,
- but that one would not allow the page to work anywhere except in your localhost

Make sure you are working in a server based FP web (http:/localhost/) and not a disc based FP web (C:\inetpub\wwwroot)

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| Currently I'm working locally until I get through my learning curve and have
| more of the web for my small home town finished. I thought I read somewhere
| if the "go to" page is in the same directory you do not need to include any
| path info.
|
| I have all the ASP pages in a sub-directory named "ASP" under the root
| directory (in this case C:\inetpub\wwwroot). My form action statement
| therefore only reads the "go to" page (e.g. on the owner_name page, the form
| statement reads action="owner_id.asp") since both pages reside in the ASP
| directory.
|
| Is this correct or do I need to specify a URL such as action
| ="http:/localhost/ASP/owner_id".
|
| Thanks
| Jim T
|
| "Thomas A. Rowe" wrote:
|
| > Then you have not set up the forms correctly. Can provide a URL to one of the pages?
| >
| > --
| > ==============================================
| > Thomas A. Rowe (Microsoft MVP - FrontPage)
| > ==============================================
| > If you feel your current issue is a results of installing
| > a Service Pack or security update, please contact
| > Microsoft Product Support Services:
| > http://support.microsoft.com
| > If the problem can be shown to have been caused by a
| > security update, then there is usually no charge for the call.
| > ==============================================
| >
| > | > > I'm using FP2000 and have created a number of pages with a form and
| > > originally had the action linked to another HTML page. The linked page I
| > > eventually renamed the file extension to ".ASP" and added VBScript code to
| > > the pages using the MS-Script editor.
| > >
| > > Now when I open FP (XP pro, 2002 file extensions) as a web, all the pages
| > > with form action parms gets reset to the current page name. For example I
| > > have a page called "OWNER_DATA.ASP" that has a form with an action
| > > "OWNER_ID.ASP". As soon as I open the web in FP the form action on
| > > OWNER_DATA.ASP is automatically changed to "OWNER_DATA.ASP" instead of
| > > "OWNER_ID.ASP". FP not only changes this action; but, all actions to the page
| > > name the form is on. This issue occurs regardless whether I "touch" an ASP
| > > page in FP or not.
| > >
| > > This is now an annoying problem since currently I only have 5 ASP pages with
| > > a form on it. However I will be adding 10-20 more ASP pages in the future so
| > > changing all the actions back to the appropriate page reference will become a
| > > very big problem in the future. Any way to stop FP from resetting the action
| > > value???
| > >
| > > Thanks
| > > Jim T.
| >
| >
| >
 
T

Thomas A. Rowe

FP does not support path's that begin with just a "/".

A path must be in one of the following formats:

"pagename.asp"
"asp/pagename.asp"
"../asp/pagename.asp"

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

jimt said:
The form actions are still getting reset; however I have found one pattern
that caused the problem.

I my running XP Pro, IIS, FP2000 w/2002 ext. I had been opening my web via
the "open web" option under the file menu. I select "localhost" from the list
which open up the "webroot" directory where my web is stored (I haven't
published yet... still under construction).

To test out one theory, I copied the files and folders under "webroot" to
another directory under a sub directory called Stoneham (my home town which I
writing the web for) in the "My Documents/My Webs" folder. Remember all my
ASP pages are stored under a subdirectory called "ASP" under this directory
(just like the wwwroot web)

I then tested the problem by opened this new set of "hard drive" file(s):
1. TEST: open FP (open file mode) and looked at but not opening any HTML
pages in the Stoneham directory. I then opened an ASP page in the ASP
directory using MS-Script
RESULTS: The action parm did not change in any of the files. (note I've
set some of the actions to include the path (e.g. "/ASP/land.asp") and some
without the path (e.g. "buildings.asp"))

2. TEST: same as one exept open the ASP directory do not open any files
RESULTS: The action parm did not change in any of the files.

3. TEST: Open FP (open file mode) a HTML page but make no changes.
RESULTS: The action parm did not change in any of the files.

4. TEST: Open FP (open file mode) a HTML page and save a change.
RESULTS: The action parm did not change in any of the files.

5. TEST: Open FP (open file mode) an HTML page but make no changes. Use the
folder sidebar to open the ASP directory but do not open any ASP pages.
RESULTS: Openend MS-Script and found the action parm DID CHANGE in the
ASP files.

6. TEST: Reset the action statements in the ASP files using MS-Script and
kept one ASP file open. Opened FP (open file mode) and opened a HTML page but
made no changes. Closed the HTML page and opened the ASP directory but did
not open any files. Exited FP.
RESULTS: A message appeared in the MS-Script that the page had been
change by another application and "do you want to update/refresh the file (as
it appear in MS-Script). The actions WERE CHANGED BY FP.

7. The same results occur when I use the "Open Web" option under the file
menu and select the localhost (inetpub/wwwroot) which has been the way I had
been developing the web (being new at this it is the handiest way to write
the ASP code in the pages and then test in IE browser)

Any thoughts what I am doing that causes the actions to be reset to the page
name itself (e.g. land.asp gets reset to property_data.asp on the
property_data page) when opening the ASP directory. Obviously this is a big
problem as my number of ASP pages grows. I now have about a dozen ASP page
and all but 2 gets reset.

Heres the "calls" to the web pages (the ones with the "**" are the one that
get changed ...

index.html ---- series of html page that eventually leads to:

logon.asp --- the user enters a ID and password and the form action =
check_logon.asp

check_logon.asp --- does not display but simply checks ID & pswd against an
Access-2000 DB, if they are correct gets owner number from the record and
stores as a session variable then uses a redirect to go to

owner_data.asp --- using the session owner number gets the DB record
containing name, address, etc. Form at the bottom of page has
action=owner_id.asp**

owner_id.asp --- get multiple rows from the DB of the property owned by the
owner and displays the rows in a table with a form in each row for user to
select the piece of property they wish to view. The forms' (since build
dynamically at the start of the page) action = property_data.asp**

property_data.asp --- display a 3x2 table with forms in each cell with text
for the different kinds of properties (land, buildings, personal property) an
owner may have, one column of forms with submit buttons is use to go to the
specification pages and the second column with forms allows the user to go to
a page that contains the values for the selected piece of property. The
action(s) on the form(s) would read; land.asp**, buildings.asp**,
personal_property.asp**, land_asmt.asp**, building_asmt.asp**, and
personal_property_asmt.asp**.

I would like to develeop additional ASP pages but need to solve this problem
before I do. Currently I start the development of a page in FP and then if
the page needs code I use MS-Script. Therefor every time I create a new page
in the ASP directory or even open the ASP directory in FP, I have to reenter
all the action statements in all of the pages (except those noted).

I can't believe everyone else that uses FP and Script has this problem; any
ideas what I am doing wrong???

Thanks
Jim T

Stefan B Rusynko said:
No you don't need a full URL (http:/localhost/ASP/owner_id.asp)
- just a relative link to the page (owner_id.asp if the page path is at the same level as your
form)
You can use a URL path,
- but that one would not allow the page to work anywhere except in your localhost

Make sure you are working in a server based FP web (http:/localhost/) and not a disc based FP web
(C:\inetpub\wwwroot)

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| Currently I'm working locally until I get through my learning curve and have
| more of the web for my small home town finished. I thought I read somewhere
| if the "go to" page is in the same directory you do not need to include any
| path info.
|
| I have all the ASP pages in a sub-directory named "ASP" under the root
| directory (in this case C:\inetpub\wwwroot). My form action statement
| therefore only reads the "go to" page (e.g. on the owner_name page, the form
| statement reads action="owner_id.asp") since both pages reside in the ASP
| directory.
|
| Is this correct or do I need to specify a URL such as action
| ="http:/localhost/ASP/owner_id".
|
| Thanks
| Jim T
|
| "Thomas A. Rowe" wrote:
|
| > Then you have not set up the forms correctly. Can provide a URL to one of the pages?
| >
| > --
| > ==============================================
| > Thomas A. Rowe (Microsoft MVP - FrontPage)
| > ==============================================
| > If you feel your current issue is a results of installing
| > a Service Pack or security update, please contact
| > Microsoft Product Support Services:
| > http://support.microsoft.com
| > If the problem can be shown to have been caused by a
| > security update, then there is usually no charge for the call.
| > ==============================================
| >
| > | > > I'm using FP2000 and have created a number of pages with a form and
| > > originally had the action linked to another HTML page. The linked page I
| > > eventually renamed the file extension to ".ASP" and added VBScript code to
| > > the pages using the MS-Script editor.
| > >
| > > Now when I open FP (XP pro, 2002 file extensions) as a web, all the pages
| > > with form action parms gets reset to the current page name. For example I
| > > have a page called "OWNER_DATA.ASP" that has a form with an action
| > > "OWNER_ID.ASP". As soon as I open the web in FP the form action on
| > > OWNER_DATA.ASP is automatically changed to "OWNER_DATA.ASP" instead of
| > > "OWNER_ID.ASP". FP not only changes this action; but, all actions to the page
| > > name the form is on. This issue occurs regardless whether I "touch" an ASP
| > > page in FP or not.
| > >
| > > This is now an annoying problem since currently I only have 5 ASP pages with
| > > a form on it. However I will be adding 10-20 more ASP pages in the future so
| > > changing all the actions back to the appropriate page reference will become a
| > > very big problem in the future. Any way to stop FP from resetting the action
| > > value???
| > >
| > > Thanks
| > > Jim T.
| >
| >
| >
 
G

Guest

I ran the following test after insuring no leading "/" and still have the
action reset problem...


Setup
----------------
Create two test configurations: one of "localhost" and one
on hard drive. Using windows explorer copy the
"C:\inetpub\wwwroot" directory to a "non-web"
directory on the C: drive.

First Set of Test against the hard drive
----------------------------------------------
main/root directory = C:\my documents\my webs\stoneham
HTML pages directory = "main directory"
ASP file directory = "main directory"/ASP
FP open via File/Open File option

pretesting setup: set actions on property_data.asp in MS-Scrpt
include path in some and no path reference in others for testing.
form1 action="ASP/land.asp"
form2 action="building.asp"
form3 action= "ASP/tax_bills"

test 1: open a HTML page in FP, make no change
open MS-Script to view the action statements.
results 1: ASP actions OK

test 2: open a HTML page in FP, make changes and save
open MS-Script to view the action statements.
result 2: ASP actions OK

test 3: open a HTML page and then use the folder view
to display the ASP file list, do not change HTML page,
do not open a ASP page,
open MS-Script to view the action statements.
results 3: ASP actions, CHANGED....all actions on
property_data.asp now read action="property_data.asp"
(all actions on all ASP pages changed)

test 4: open a ASP directly via FP open file, make no changes, exit,
open MS-Script to view the action statements.
results 4: ASP actions, CHANGED....all actions on
property_data.asp now read action="property_data.asp"
(all actions on all ASP pages changed)

------------------------------------------------------------------
Change testing to "open web" and select the localhost
(ie open web popup window: "look in; localhost" and
folder name: http://localhost/ " drop down lists.
-------------------------------------------------------------------

test 5: open web (open to new page in page view),
no changes, no saves,close FP
results: ASP actions OK

test 6: open web, use folder window to open a HTML page, make changes and
save, close FP
results: ASP actions OK

test 7: open web, select folder view, open ASP directory, close FP
results: All actions CHANGED to page names (e.g. form1 on property_data.asp
which read action="ASP/land.asp" and form2 action read
action="buildings.asp" both changed to "property_data.asp"
All actions on all pages (except logon.asp) changed to the
name of the page containing the form(s).


on-line Testing: Using localhost web
---------------------------------
1. reset all actions on ASP pages to the appropriate references using
MS-Script

2. open Internet Explorer and use the address bar to select
"http://localhost/"

3. index.html displays OK, use the shared nav. buttons to go to

4. taxes_assessment.html, diplays OK, click on the hyperlink
(file://C:\Inetpub\wwwroot\ASP\logon.asp") to go to

5. logon.asp, diplays OK, enter ID & password and click on submit button
(action="check_logon.asp") in form to process

6. check_logon.asp, ID & password passes and therefore (response.redirect
"owner_data.asp")

7. owner_data.asp, displays OK, click submit button (action="owner_id.asp")
for the one form on the page to go to

8. owner_id.asp, displays OK, multiple forms on the page build dynamically
based on the number of property records for the owner. All forms has the same
submit button action="property_data"

9. property_data.asp, display OK, 4x2 table with a form in each cell
contains an action to take the user to a ASP page for each type of property
(eg. land, buildings, personal property, etc.) For example in cell R1C1 form
action="land.asp".

10. land.asp, displays OK.

The action references seems to work OK; but, why are all the action
references getting changed automatically just by opening the ASP directory?
It's a killer since I have to change them back everytime I go into FP and
open the directory to tweak a ASP page in FP.

Any help please...
Thanks
Jim T


Thomas A. Rowe said:
FP does not support path's that begin with just a "/".

A path must be in one of the following formats:

"pagename.asp"
"asp/pagename.asp"
"../asp/pagename.asp"

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

jimt said:
The form actions are still getting reset; however I have found one pattern
that caused the problem.

I my running XP Pro, IIS, FP2000 w/2002 ext. I had been opening my web via
the "open web" option under the file menu. I select "localhost" from the list
which open up the "webroot" directory where my web is stored (I haven't
published yet... still under construction).

To test out one theory, I copied the files and folders under "webroot" to
another directory under a sub directory called Stoneham (my home town which I
writing the web for) in the "My Documents/My Webs" folder. Remember all my
ASP pages are stored under a subdirectory called "ASP" under this directory
(just like the wwwroot web)

I then tested the problem by opened this new set of "hard drive" file(s):
1. TEST: open FP (open file mode) and looked at but not opening any HTML
pages in the Stoneham directory. I then opened an ASP page in the ASP
directory using MS-Script
RESULTS: The action parm did not change in any of the files. (note I've
set some of the actions to include the path (e.g. "/ASP/land.asp") and some
without the path (e.g. "buildings.asp"))

2. TEST: same as one exept open the ASP directory do not open any files
RESULTS: The action parm did not change in any of the files.

3. TEST: Open FP (open file mode) a HTML page but make no changes.
RESULTS: The action parm did not change in any of the files.

4. TEST: Open FP (open file mode) a HTML page and save a change.
RESULTS: The action parm did not change in any of the files.

5. TEST: Open FP (open file mode) an HTML page but make no changes. Use the
folder sidebar to open the ASP directory but do not open any ASP pages.
RESULTS: Openend MS-Script and found the action parm DID CHANGE in the
ASP files.

6. TEST: Reset the action statements in the ASP files using MS-Script and
kept one ASP file open. Opened FP (open file mode) and opened a HTML page but
made no changes. Closed the HTML page and opened the ASP directory but did
not open any files. Exited FP.
RESULTS: A message appeared in the MS-Script that the page had been
change by another application and "do you want to update/refresh the file (as
it appear in MS-Script). The actions WERE CHANGED BY FP.

7. The same results occur when I use the "Open Web" option under the file
menu and select the localhost (inetpub/wwwroot) which has been the way I had
been developing the web (being new at this it is the handiest way to write
the ASP code in the pages and then test in IE browser)

Any thoughts what I am doing that causes the actions to be reset to the page
name itself (e.g. land.asp gets reset to property_data.asp on the
property_data page) when opening the ASP directory. Obviously this is a big
problem as my number of ASP pages grows. I now have about a dozen ASP page
and all but 2 gets reset.

Heres the "calls" to the web pages (the ones with the "**" are the one that
get changed ...

index.html ---- series of html page that eventually leads to:

logon.asp --- the user enters a ID and password and the form action =
check_logon.asp

check_logon.asp --- does not display but simply checks ID & pswd against an
Access-2000 DB, if they are correct gets owner number from the record and
stores as a session variable then uses a redirect to go to

owner_data.asp --- using the session owner number gets the DB record
containing name, address, etc. Form at the bottom of page has
action=owner_id.asp**

owner_id.asp --- get multiple rows from the DB of the property owned by the
owner and displays the rows in a table with a form in each row for user to
select the piece of property they wish to view. The forms' (since build
dynamically at the start of the page) action = property_data.asp**

property_data.asp --- display a 3x2 table with forms in each cell with text
for the different kinds of properties (land, buildings, personal property) an
owner may have, one column of forms with submit buttons is use to go to the
specification pages and the second column with forms allows the user to go to
a page that contains the values for the selected piece of property. The
action(s) on the form(s) would read; land.asp**, buildings.asp**,
personal_property.asp**, land_asmt.asp**, building_asmt.asp**, and
personal_property_asmt.asp**.

I would like to develeop additional ASP pages but need to solve this problem
before I do. Currently I start the development of a page in FP and then if
the page needs code I use MS-Script. Therefor every time I create a new page
in the ASP directory or even open the ASP directory in FP, I have to reenter
all the action statements in all of the pages (except those noted).

I can't believe everyone else that uses FP and Script has this problem; any
ideas what I am doing wrong???

Thanks
Jim T

Stefan B Rusynko said:
No you don't need a full URL (http:/localhost/ASP/owner_id.asp)
- just a relative link to the page (owner_id.asp if the page path is at the same level as your
form)
You can use a URL path,
- but that one would not allow the page to work anywhere except in your localhost

Make sure you are working in a server based FP web (http:/localhost/) and not a disc based FP web
(C:\inetpub\wwwroot)

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| Currently I'm working locally until I get through my learning curve and have
| more of the web for my small home town finished. I thought I read somewhere
| if the "go to" page is in the same directory you do not need to include any
| path info.
|
| I have all the ASP pages in a sub-directory named "ASP" under the root
| directory (in this case C:\inetpub\wwwroot). My form action statement
| therefore only reads the "go to" page (e.g. on the owner_name page, the form
| statement reads action="owner_id.asp") since both pages reside in the ASP
| directory.
|
| Is this correct or do I need to specify a URL such as action
| ="http:/localhost/ASP/owner_id".
|
| Thanks
| Jim T
|
| "Thomas A. Rowe" wrote:
|
| > Then you have not set up the forms correctly. Can provide a URL to one of the pages?
| >
| > --
| > ==============================================
| > Thomas A. Rowe (Microsoft MVP - FrontPage)
| > ==============================================
| > If you feel your current issue is a results of installing
| > a Service Pack or security update, please contact
| > Microsoft Product Support Services:
| > http://support.microsoft.com
| > If the problem can be shown to have been caused by a
| > security update, then there is usually no charge for the call.
| > ==============================================
| >
| > | > > I'm using FP2000 and have created a number of pages with a form and
| > > originally had the action linked to another HTML page. The linked page I
| > > eventually renamed the file extension to ".ASP" and added VBScript code to
| > > the pages using the MS-Script editor.
| > >
| > > Now when I open FP (XP pro, 2002 file extensions) as a web, all the pages
| > > with form action parms gets reset to the current page name. For example I
| > > have a page called "OWNER_DATA.ASP" that has a form with an action
| > > "OWNER_ID.ASP". As soon as I open the web in FP the form action on
| > > OWNER_DATA.ASP is automatically changed to "OWNER_DATA.ASP" instead of
| > > "OWNER_ID.ASP". FP not only changes this action; but, all actions to the page
| > > name the form is on. This issue occurs regardless whether I "touch" an ASP
| > > page in FP or not.
| > >
| > > This is now an annoying problem since currently I only have 5 ASP pages with
| > > a form on it. However I will be adding 10-20 more ASP pages in the future so
| > > changing all the actions back to the appropriate page reference will become a
| > > very big problem in the future. Any way to stop FP from resetting the action
| > > value???
| > >
| > > Thanks
| > > Jim T.
| >
| >
| >
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top