If I set a far future expire header for this file (take note of the query string):
/css/getCSS.php?v=1284532156.css
Will it treat the entire URL (including the query string) as a single file and respect the expire deceleration, but request the next version of the file...
/css/getCSS.php?v=1284599999.css
...from the server as it won...
Hi. I have an action method that looks like this:
public ActionResult DoSomething(string par, IEnumerable<string> mystrings)
I wanted to map this to a URL using Url.Action, passing mystrings in the RouteValueDictionary. However, this only yields a query string that only corresponds to mystrings.ToString().
How could I pass a list in ...
Is there a difference between me using Javascript to redirect to URL + "?Querystring=value" versus using whatever mechanism ASP.NET uses?
If there is a difference, how can I make the rendered ASP.NET page be submitted to the same URL with a different query string by javascript?
...
I saw this in a HTML template for a web app:
<img alt="mybutton" src="/img/button.png?123456789" />
What I didn't understand was why the ?123456789 would be passed to the image file? (in the actual app, the number that was actually passed seemed to be customized to the user's session or unique id perhaps)
...
Is there any way I can change the URL or add more history to the "back button" without having to refresh the entire page?
My application is AJAX based and I'd like to add some "undo" events to history so that the user can simply hit back and retain the old values.
What's possible today? I hear some of this may be in HTML5 but haven't ...
I'm trying to process a post by a third party server (Paypal) processed by my server through a WCF (.Net 3.5 SP1) service. All I need is to get and process the values with the query string. This sounds incredibly easy, but after a weekend, I'm still stumped. Any help would be greatly appreciated.
Passing the following URL from my brows...
How do I build a querystring for javascript with several parameters that I can pass along when calling an action method in MVC 2? This is what I tried:
var queryString = "?fileName=" + file + "&filePath=" + filePath;
document.location.href = '/Customers/Download/' + queryString;
Action method signature:
public ActionResult Download(s...
Hi there I have this code
NSLog(@"%@",URLRequestQueryString);
NSString *sendToServerString = [NSString stringWithFormat:@"http://mydomain.co.uk/req.php%@",URLRequestQueryString];
NSURL *sendToServer = [[NSURL alloc] initWithString:sendToServerString];
NSLog(@"%@",sendToServer);
NSLog(@"%@",sendToServerString);
URLRequestQueryString is...
I sometimes need to pass additional parameters to a page via the URL. I did this in the past with a couple of generic placeholders in the routes file, which I call "genus" and "species". This used to work, but now it has started producing URLs with query strings.
The Rails version is 2.3.8.
The routes file is:
ActionController::Routin...
What is the correct way to pick up a querystring variable that is passed to the page that the Silverlight Control is being hosted on?
...
My current ASP.net 3.5 site uses a Membership Provider to manage authentication for the entire site defined in the web.config.
I want to provide an additional method to authenticate by passing user params in the URL
ex. http://site.com?user=foo&pass=bar
What is the best method to achieve this, also this must be able to be invoked ...
can a forms action url contain querystring values?
...
I need to rewrite a querysting using javascript.
First I check to see if the variable is present, if it is I want to replace it with a new search term. If it is not present then I just add the new variable
I'm able to get it to work with simple terms like hat, ufc hat
whitespaces are %20, so ufc hat is really ufc%20hat
I run into probl...
Hello all, me again!
I have the following sp that uses a condtional where clause - ish!
@MemberId varchar(7),
@LocationId varchar(8),
@UUF1 varchar(150),
@UUF2 varchar(50),
@UUF4 varchar(50),
@IDDesc varchar(255),
@OwnBrand nvarchar(50),
@WeightStatus varchar(50),
@MaterialLevel varchar(10),
@BaseMaterialName varchar(15),
@ExtendedMa...
I am trying to insert a Yahoo weather widget in a JSF page. The code generated by Yahoo is:
<!-- Yahoo! Weather Badge --><iframe allowtransparency="true" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no" src="http://weather.yahoo.com/badge/?id=12753136&u=c&t=trans&l=vertical" height="255px...
Assume the following Url:
"http://server/application1/TestFile.aspx?Library=Testing&Filename=Documents & Functions + Properties.docx&Save=true"
I use HttpUtility.UrlEncode() to encode the value of the Filename parameter and I create the following Url:
"http://server/application1/TestFile.aspx?Library=Testing&Filename=Document...
I currently have pages on my site with several xsl dataview webparts. Each dataview webpart shows the contents of a different folder in the same list. I've accomplished this by changing the querystringparameter name for each list view to its own unique name (ie. "R1", "R2", "R3", rather than all being "RootFolder"). The querystring in th...
Stock Sharepoint 2007
I created a Doc lib and added a new lookup colum to a list.
when I click on the linked column in the document allitems view of the Doc Lib I get a url that ends with &RootFolder=* and error page that says
Cannot Complete this action.
If I remove the &RootFolder from the url the page opens the expected item on th...
Say, we have a query string that looks like this:
"param1:'test1' && param2:'test2'"
I would like to turn it into an object map, like this:
{param:test1, param2:test2}
How could that be done? This seems like a very common use case.
...
post.php?replyto=username&othervariable=value
For example, if I click a link with this url, then I want to take the replyto=username value and insert the value in a textbox using jquery.
function insertParamIntoField(url, param, field) {
var anchor = document.createElement('a'), query;
anchor.value = url;
query =...