473,386 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

POST from form to "default.asp"

Consider this HTML on an ASP page called default.asp in a virtual
directory:

<FORM name="Flogin" id="Flogin" action="" method=post>
</FORM>

Do I HAVE to put the literal "default.asp" into the action attrib to
get this form to post back to the "default.asp" page in that
directory?

I don't want the user to SEE the absolute URL with the page
"default.asp" in the browser address field. I'm using
"server.transfer" for every other page redirect while in this
directory... to obfusicate all other pages in the dir. Get it?

I think I've tried everything, including "../[directory name]", which
would indicate to the http post that it is to go to the "default.asp"
page for THAT directory but IIS 5.0 says page not avail... etc...

Any thoughts?

Jul 19 '05 #1
8 5708
Have you checked if the default page for a directory is indeed default.asp?
I do not see any problem with using the ../directory/ notation to post to
the default page.

--
Manohar Kamath
Editor, .netWire
www.dotnetwire.com
<wh****@whtevrrrr.com> wrote in message
news:41***************@news.dallas.sbcglobal.net.. .
Consider this HTML on an ASP page called default.asp in a virtual
directory:

<FORM name="Flogin" id="Flogin" action="" method=post>
</FORM>

Do I HAVE to put the literal "default.asp" into the action attrib to
get this form to post back to the "default.asp" page in that
directory?

I don't want the user to SEE the absolute URL with the page
"default.asp" in the browser address field. I'm using
"server.transfer" for every other page redirect while in this
directory... to obfusicate all other pages in the dir. Get it?

I think I've tried everything, including "../[directory name]", which
would indicate to the http post that it is to go to the "default.asp"
page for THAT directory but IIS 5.0 says page not avail... etc...

Any thoughts?

Jul 19 '05 #2
On Thu, 14 Oct 2004 20:45:00 -0500, "Manohar Kamath"
<mk*****@TAKETHISOUTkamath.com> wrote:

Yes. In the management console I have default.asp as the top level
default page.

What is the actual string you would use for the action attrib?

I request the /[directory]/[default.asp] page from the same server,
BUT from a LINK on a page pulled from a separate directory. Hummm...
maybe that is it?

Have you checked if the default page for a directory is indeed default.asp?
I do not see any problem with using the ../directory/ notation to post to
the default page.

--
Manohar Kamath
Editor, .netWire
www.dotnetwire.com
<wh****@whtevrrrr.com> wrote in message
news:41***************@news.dallas.sbcglobal.net. ..
Consider this HTML on an ASP page called default.asp in a virtual
directory:

<FORM name="Flogin" id="Flogin" action="" method=post>
</FORM>

Do I HAVE to put the literal "default.asp" into the action attrib to
get this form to post back to the "default.asp" page in that
directory?

I don't want the user to SEE the absolute URL with the page
"default.asp" in the browser address field. I'm using
"server.transfer" for every other page redirect while in this
directory... to obfusicate all other pages in the dir. Get it?

I think I've tried everything, including "../[directory name]", which
would indicate to the http post that it is to go to the "default.asp"
page for THAT directory but IIS 5.0 says page not avail... etc...

Any thoughts?



Jul 19 '05 #3
i think you need as if you have indicate default.asp in the action attribute
the page will submit the form to the current page only

for example: current page was test.asp without value in the action attribute
of the form
when you submit the form, it will submit all form data to the test.asp only.
--
<Title>Analyst Programmer</Title>
<Experience>3 years programming experience with 1 year system design
experience</Experience>
<Language>ASP, Visual Basic, Java, JSP, XML, HTML</Language>
Jul 19 '05 #4
There use to be a KB article about this, but it seems to be gone, or it's
not an English-published article. See its contents here:

http://groups.google.com/groups?hl=e...phx.gbl#link10

Ray at home

<wh****@whtevrrrr.com> wrote in message
news:41***************@news.dallas.sbcglobal.net.. .
On Thu, 14 Oct 2004 20:45:00 -0500, "Manohar Kamath"
<mk*****@TAKETHISOUTkamath.com> wrote:

Yes. In the management console I have default.asp as the top level
default page.

What is the actual string you would use for the action attrib?

I request the /[directory]/[default.asp] page from the same server,
BUT from a LINK on a page pulled from a separate directory. Hummm...
maybe that is it?

Have you checked if the default page for a directory is indeed
default.asp?
I do not see any problem with using the ../directory/ notation to post to
the default page.

Jul 19 '05 #5
<form action="/mydir/">
--
Manohar Kamath
Editor, .netWire
www.dotnetwire.com
<wh****@whtevrrrr.com> wrote in message
news:41***************@news.dallas.sbcglobal.net.. .
On Thu, 14 Oct 2004 20:45:00 -0500, "Manohar Kamath"
<mk*****@TAKETHISOUTkamath.com> wrote:

Yes. In the management console I have default.asp as the top level
default page.

What is the actual string you would use for the action attrib?

I request the /[directory]/[default.asp] page from the same server,
BUT from a LINK on a page pulled from a separate directory. Hummm...
maybe that is it?

Have you checked if the default page for a directory is indeed default.asp?I do not see any problem with using the ../directory/ notation to post to
the default page.

--
Manohar Kamath
Editor, .netWire
www.dotnetwire.com
<wh****@whtevrrrr.com> wrote in message
news:41***************@news.dallas.sbcglobal.net. ..
Consider this HTML on an ASP page called default.asp in a virtual
directory:

<FORM name="Flogin" id="Flogin" action="" method=post>
</FORM>

Do I HAVE to put the literal "default.asp" into the action attrib to
get this form to post back to the "default.asp" page in that
directory?

I don't want the user to SEE the absolute URL with the page
"default.asp" in the browser address field. I'm using
"server.transfer" for every other page redirect while in this
directory... to obfusicate all other pages in the dir. Get it?

I think I've tried everything, including "../[directory name]", which
would indicate to the http post that it is to go to the "default.asp"
page for THAT directory but IIS 5.0 says page not avail... etc...

Any thoughts?


Jul 19 '05 #6
On Thu, 14 Oct 2004 21:44:40 -0500, "Manohar Kamath"
<mk*****@TAKETHISOUTkamath.com> wrote:

Yes. That's the one I use.

Also... this is not SSL.

I THINK it has to do with a header that's missing or something... the
server is parsing the http request and can't find a header, so I added
"http_referrer" [what ever . asp] in the response.addheader method...
and it didn't seem to help...

Is this a header issue... maybe the server can't parse a part of the
request and it just gives an error (microsoft security issue????)
<form action="/mydir/">
--
Manohar Kamath
Editor, .netWire
www.dotnetwire.com
<wh****@whtevrrrr.com> wrote in message
news:41***************@news.dallas.sbcglobal.net. ..
On Thu, 14 Oct 2004 20:45:00 -0500, "Manohar Kamath"
<mk*****@TAKETHISOUTkamath.com> wrote:

Yes. In the management console I have default.asp as the top level
default page.

What is the actual string you would use for the action attrib?

I request the /[directory]/[default.asp] page from the same server,
BUT from a LINK on a page pulled from a separate directory. Hummm...
maybe that is it?

>Have you checked if the default page for a directory is indeeddefault.asp? >I do not see any problem with using the ../directory/ notation to post to
>the default page.
>
>--
>Manohar Kamath
>Editor, .netWire
>www.dotnetwire.com
>
>
><wh****@whtevrrrr.com> wrote in message
>news:41***************@news.dallas.sbcglobal.net. ..
>> Consider this HTML on an ASP page called default.asp in a virtual
>> directory:
>>
>> <FORM name="Flogin" id="Flogin" action="" method=post>
>> </FORM>
>>
>> Do I HAVE to put the literal "default.asp" into the action attrib to
>> get this form to post back to the "default.asp" page in that
>> directory?
>>
>> I don't want the user to SEE the absolute URL with the page
>> "default.asp" in the browser address field. I'm using
>> "server.transfer" for every other page redirect while in this
>> directory... to obfusicate all other pages in the dir. Get it?
>>
>> I think I've tried everything, including "../[directory name]", which
>> would indicate to the http post that it is to go to the "default.asp"
>> page for THAT directory but IIS 5.0 says page not avail... etc...
>>
>> Any thoughts?
>>
>>
>>
>
>



Jul 19 '05 #7
On Fri, 15 Oct 2004 03:06:23 GMT, wh****@whtevrrrr.com wrote:

Whoops... posted to root topic.
On Fri, 15 Oct 2004 01:24:11 GMT, wh****@whtevrrrr.com wrote:

Does this mean we have to make default.asp a "switch board"

code within default.asp

if "no post from a form" then
server.transfer ("login.asp")
if "request.form("blah blah blah")
server.transfer ("some other page beyond login")

...
end of all obfusication

???????????????

Consider this HTML on an ASP page called default.asp in a virtual
directory:

<FORM name="Flogin" id="Flogin" action="" method=post>
</FORM>

Do I HAVE to put the literal "default.asp" into the action attrib to
get this form to post back to the "default.asp" page in that
directory?

I don't want the user to SEE the absolute URL with the page
"default.asp" in the browser address field. I'm using
"server.transfer" for every other page redirect while in this
directory... to obfusicate all other pages in the dir. Get it?

I think I've tried everything, including "../[directory name]", which
would indicate to the http post that it is to go to the "default.asp"
page for THAT directory but IIS 5.0 says page not avail... etc...

Any thoughts?


Jul 19 '05 #8
On Fri, 15 Oct 2004 01:24:11 GMT, wh****@whtevrrrr.com wrote:

Does this mean we have to make default.asp a "switch board"

code within default.asp

if "no post from a form" then
server.transfer ("login.asp")
if "request.form("blah blah blah")
server.transfer ("some other page beyond login")

....
end of all obfusication

???????????????

Consider this HTML on an ASP page called default.asp in a virtual
directory:

<FORM name="Flogin" id="Flogin" action="" method=post>
</FORM>

Do I HAVE to put the literal "default.asp" into the action attrib to
get this form to post back to the "default.asp" page in that
directory?

I don't want the user to SEE the absolute URL with the page
"default.asp" in the browser address field. I'm using
"server.transfer" for every other page redirect while in this
directory... to obfusicate all other pages in the dir. Get it?

I think I've tried everything, including "../[directory name]", which
would indicate to the http post that it is to go to the "default.asp"
page for THAT directory but IIS 5.0 says page not avail... etc...

Any thoughts?


Jul 19 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Ohaya | last post by:
Hi, I'm trying to understand a situation where ASP seems to be "blocking" of "queuing" requests. This is on a Win2K Advanced Server, with IIS5. I've seen some posts (e.g.,...
12
by: Stefano | last post by:
Hi all, what is the correct use of the "default" attribute in XML Schema? For example: <xs:element name="myProperty" type="xs:string" default="myDefaultValue"/> What can I do with it? What...
2
by: Paul Brady | last post by:
I have non-computer skilled users entering data into a form. There are certain ranges of values which, if they enter them, make no sense in the application, but I can't test them until they try to...
6
by: Paul Turley | last post by:
Does anyone have some sample script to "press" a button or image button when the user presses the Enter key? I see this behavior on a lot of web pages but I'm not finding any samples. Thx --...
0
by: Joeyej | last post by:
Hi - I'm trying to move/use a web form (containing some javascript field checks) previously hosted on a Windows 2000 server. However, the FORM METHOD="post..." command in the form (shown below)...
1
by: MS | last post by:
I have an ASP.NET based site, and the main application is stored under a virtual directory called "Main". So in order to view my site, a browser would have to visit www.mydomain.com/Main/. But...
15
by: simonoficina | last post by:
Hello all! I am a vb.net beginner in Spain. When I use VB6 ,the button object has a property called "default" that can set this button like press "ENTER" key. But in the VB.net I can't find this...
3
simpleton
by: simpleton | last post by:
Hey all, I'm new to this board. I'm trying to send email via a "contact us" form .asp page. I've setup SMTP Virtual Server on my local XP IIS 5.1 machine. I told it to relay with 127.0.0.1 ...
3
by: kjworm | last post by:
Greetings, I have a report displayed on a screen that anyone in the office can look at. The data on this report will change from time to time. This report has different colors displayed...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.