Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Clear parameters in url
Message
 
To
25/10/2002 11:29:28
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00715471
Message ID:
00715566
Views:
10
>hello everyone. If I execute
>document.Form1.action="http://csnmxirt01:81/supplies/Orders2.aspx?SubmitClicked=1";
>
>how can i get ?SubmitClicked=1 out of the url. everytime my page is re-submitted it reads this parameter and I only want it read once, then it should go away. thanks for the help.

Randy;

I do not program in .NET (yet!) but do something similar in ASP. Perhaps the concept can be made to work for you.

1. Add a field to your table as a flag.
2. When the parameter is created save it.

Basic concept:
If Len(flag) > 0 then
     sParameter = “”
Else
     sParameter = Parameter
End If

< form action=”MyForm aspx?proj_id=” & sParameter 
Please excuse me if this concept cannot work in ASP.NET. I have a lot to learn! :)

Tom
Previous
Reply
Map
View

Click here to load this message in the networking platform