473,749 Members | 2,443 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

POST from form to "default.as p"

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.as p" into the action attrib to
get this form to post back to the "default.as p" page in that
directory?

I don't want the user to SEE the absolute URL with the page
"default.as p" in the browser address field. I'm using
"server.transfe r" 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.as p"
page for THAT directory but IIS 5.0 says page not avail... etc...

Any thoughts?

Jul 19 '05 #1
8 5742
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****@whtevrr rr.com> wrote in message
news:41******** *******@news.da llas.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.as p" into the action attrib to
get this form to post back to the "default.as p" page in that
directory?

I don't want the user to SEE the absolute URL with the page
"default.as p" in the browser address field. I'm using
"server.transfe r" 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.as p"
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*****@TAKETH ISOUTkamath.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****@whtevr rrr.com> wrote in message
news:41******* ********@news.d allas.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.as p" into the action attrib to
get this form to post back to the "default.as p" page in that
directory?

I don't want the user to SEE the absolute URL with the page
"default.as p" in the browser address field. I'm using
"server.transfe r" 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.as p"
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>Analys t 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****@whtevrr rr.com> wrote in message
news:41******** *******@news.da llas.sbcglobal. net...
On Thu, 14 Oct 2004 20:45:00 -0500, "Manohar Kamath"
<mk*****@TAKETH ISOUTkamath.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****@whtevrr rr.com> wrote in message
news:41******** *******@news.da llas.sbcglobal. net...
On Thu, 14 Oct 2004 20:45:00 -0500, "Manohar Kamath"
<mk*****@TAKETH ISOUTkamath.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****@whtevr rrr.com> wrote in message
news:41******* ********@news.d allas.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.as p" into the action attrib to
get this form to post back to the "default.as p" page in that
directory?

I don't want the user to SEE the absolute URL with the page
"default.as p" in the browser address field. I'm using
"server.transfe r" 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.as p"
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*****@TAKETH ISOUTkamath.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_refer rer" [what ever . asp] in the response.addhea der 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****@whtevr rrr.com> wrote in message
news:41******* ********@news.d allas.sbcglobal .net...
On Thu, 14 Oct 2004 20:45:00 -0500, "Manohar Kamath"
<mk*****@TAKETH ISOUTkamath.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****@whtevr rrr.com> wrote in message
>news:41******* ********@news.d allas.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.as p" into the action attrib to
>> get this form to post back to the "default.as p" page in that
>> directory?
>>
>> I don't want the user to SEE the absolute URL with the page
>> "default.as p" in the browser address field. I'm using
>> "server.transfe r" 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.as p"
>> 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****@whtevrrr r.com wrote:

Whoops... posted to root topic.
On Fri, 15 Oct 2004 01:24:11 GMT, wh****@whtevrrr r.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.as p" into the action attrib to
get this form to post back to the "default.as p" page in that
directory?

I don't want the user to SEE the absolute URL with the page
"default.as p" in the browser address field. I'm using
"server.trans fer" 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.as p"
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****@whtevrrr r.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.as p" into the action attrib to
get this form to post back to the "default.as p" 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.transf er" 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.as p"
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
4971
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., http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=Tidy7IDbDHA.2108%40cpmsftngxa06.phx.gbl) that indicate that ASP will queue up requests when they come in with the same "session".
12
4951
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 is the meaning of < ....default="myDefaultValue" /> ?
2
7977
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 close out the form, in which case I can look at the entire set of values and see if they're OK. So, I have this code. for the "Before Update" event: if (their variables are inappropriate) then msgbox "You've entered bad variables (or some...
6
8226
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 -- Paul Turley, MCSD, MCAD, MCT, MSF Practitioner, A+ Technician paul@createsolutions.net
0
2559
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) now renders "Page not Found" when launched on the new Windows 2003 server (ws-server1). The form is designed to use the write.asp program to write to an Acccess database and is successful on any Windows 2000 server. This is frustrating because...
1
1290
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 if a browser just visits www.mydomain.com, he will NOT see my site (since all the content is under the Main subdirectory). Currently, I use a simple ASP redirect script in the root directory that will redirect the user to the Main subdirectory. But...
15
12545
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 property. Where is it? Or mabye change the other thing,No?Thanks ! Simon
3
4188
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 The asp page acts like it works, but no email comes through. I initially set the page up with CDONTS (as the tutorial explained): http://www.webthang.co.uk/Tuts/tuts_dmx/dmxf_5/dmx5_3.asp
3
2559
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 depending on the data. Since I'm using Access '97, I can't do this on a form. What I am doing is "refreshing" this report every 60 seconds. Since Access '97 can't use the timer interval for reports, I have a form that is closing and then reopening my...
0
8832
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9388
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9333
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8256
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6078
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4608
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3319
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2791
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.