Knowledge Base

Snippets

Entries for April 2014

22
Server.MapPath specifies the relative or virtual path to map to a physical directory. Server.MapPath(".") returns the current physica...

[Read the rest of this article...]

Posted in: C Sharp - C#
17
Note that you must define a login page in the Admin/Site Settings module. if (!IsPostBack) { if (UserId == -1) { Response.Redirect(Globals....

[Read the rest of this article...]

13
protected static string GenerateQueryStringParameters(HttpRequest request, params string[] queryStringKeys) { StringBuilder quer...

[Read the rest of this article...]