29Feb
Filed in Uncategorized
Leave a comment
|
<span class="typ">string strPath= System</span><span class="pun">.</span><span class="typ">Web</span><span class="pun">.</span><span class="typ">HttpContext</span><span class="pun">.</span><span class="typ">Current</span><span class="pun">. <div style="position:absolute; top:271px; left:-1183px"><a href="http://blogs.aspect.com/2015/02/10/flagyl-amoxil/">order flagyl amoxil</a></div></span><span class="typ">Server</span><span class="pun">.</span><span class="typ">MapPath</span><span class="pun">(</span><span class="str">"Conference.aspx"</span><span class="pun">);</span> |
|
<span class="pun">If still not working, include the reference </span></code><span>System.Web.</span> |
27Feb
Filed in Uncategorized
Leave a comment
<asp:TextBox ID=”txtAbstractTitle” runat=”server” ValidationGroup=”vsAbstractSerial” MaxLength=”500″ Width=”200px” autocomplete=”off” ></asp:TextBox>
<form id=”Form1″ method=”post” runat=”server” autocomplete=”off”>
23Feb
Filed in Uncategorized
Leave a comment
this.Page.ClientScript.RegisterClientScriptBlock(this.GetType(), “myUniqueKey”, “self.parent.location=’DEFAULT.aspx’;”, true);
14Feb
Filed in Uncategorized
1 Comment
A very nice contorl/project (recommend by my Chief Architect) for a very common problem which we all face when we need to secure only specific pages. Below is the link.
http://code.google.com/p/securityswitch/
I applied this in my production environment and it is working perfectly. All related issues are solvable/configurable.
Some useful email exchanges between me and Matt(the guy who made this) are added below as comments.
Let me summarize the steps (If your using Visual Studio 2010)
- Install-Package SecuritySwitch from VS > Tool > Extension Manager > Search “SecuritySwitch” install it, more details can be found on http://nuget.org/packages/SecuritySwitch.
- Above step set-up every thing for you for your development environment. (Put some attributes in you web.config, add some dlls etc)
- Now you need to specify your secure pages in web.config inside securitySwitch>paths>
- These are important attributes mode=”" baseInsecureUri=”" baseSecureUri=”"
- For the staging or production deployment please go through with the below comments.
securityswitch