/    Sign up×
Community /Pin to ProfileBookmark

default page and form action

am using the option in IIS to set the default page that will be requested , so lets say the default page name is ‘page.asp’ under the location “http://localhost/WebFolder“, so once u make a call for “http://localhost/WebFolder?key=value” the page.asp should start as it is the default page, now if i try to set an html form-action to this url ([url]http://localhost/WebFolder?key=value[/url]) it will not call the page.asp instead it keeps calling the url as it is in the action so this will give an error that the page cant be found, so how to set the form-action in this case.

to post a comment
Full-stack Developer

3 Comments(s)

Copy linkTweet thisAlerts:
@bathurst_guyMar 24.2008 — <form action="page.asp">
Copy linkTweet thisAlerts:
@akkadauthorMar 24.2008 — hehe so simple, sure this is not the technique am looking for, am not looking to show my pages on the client side thats why am assigning a default page so i want the url to look like "http://localhost/WebFolder" and then the web server will pick up the default page and call it.
Copy linkTweet thisAlerts:
@ray326Mar 25.2008 — IIS is pretty brain dead so this probably won't work but a real web server would understand that http://localhost/WebFolder/value would have to resolve to http://localhost/WebFolder with a path_info="/value".
×

Success!

Help @akkad spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.6,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...