Tracking Forums, Newsgroups, Maling Lists
Home Submit Tracker Forums
  Advanced Search
  HOME    TRACKER    ASP.NET


Advertisements:










Override RenderWebPart (error : No Suitable Method Found To Override)?


I'm a complete noob to ASP.net and Sharepoint (mostly PHP background) so I'm trying to navigate this learning curve as best as I can.

Every example I read on building webparts suggests overriding the RenderWebPart method but when I do VS.net 2k5 spits this error out at me:

wp_test_1213_1453 RenderWebPart(System.Web.UI.HtmlTextWriter)': no suitable method found to override

My li'l method reads:

protected override
void RenderWebPart (HtmlTextWriter output)
{[code]....


View 2 Replies (Posted: Dec 17, 2007 11:39 PM)

Sponsored Links:

Related Forum Messages For ASP.NET category:
No Suitable Method Found To Override
Error 52 'ASP._..................aspx.GetTypeHashCode()': no suitable method found to override
c:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Files.............18b5a5e46b9c8f5aApp_Web_nlbd7ihb.18.cs 888

Error 53 'ASP............._aspx.ProcessRequest(System.Web.HttpContext)': no suitable method found to override c:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Files................._118b5a5e46b9c8f5aApp_Web_nlbd7ihb.18.cs 893

Error 54 'ASP............_aspx' does not implement interface member 'System.Web.IHttpHandler.IsReusable' c:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Files..........................118b5a5e46b9c8f5aApp_Web_nlbd7ihb.18.cs149

I am getting this error. This came up after I renamed a couple of my aspx pages.

Posted: Nov 20, 2008 02:49 PM

View 2 Replies!   View Related
MVC :: No Suitable Method Found To Override
I'm going throughthis tutorial [URL]

[Code]....

When I compile, this errormessage comes up: 'Framework.ImportControllerFactory.CreateController(System.Web.Routing.RequestContext, string)': no suitable method found to override I have navigated to the definition in the DefaultControllerFactory, and it's (snipping the comments):

[Code]....

Posted: Nov 12, 2010 02:30 PM

View 1 Replies!   View Related
Web Forms :: MasterPage.InitializeCulture()': No Suitable Method Found To Override?
I'm trying to develop a MultiLanguage web site using ASP.NET 2.0 with C#My problem is: I want to make my MasterPage support switching among languages, but when i put the "InitializeCulture()" inside the masterpage.cs, I got this erreor:MasterPage.InitializeCulture()': no suitable method found to overrideNote the following code works fine with xxx.aspx page, but not with MasterPageHere is my code:

[Code]....

Posted: Oct 14, 2008 10:21 AM

View 16 Replies!   View Related
Security :: Create Membership System - No Suitable Method Found To Override
I am trying to create my own membership system. Therefore Icreated my own membershipuser class and membership provider class. But I am getting the following error on Createuser method of My membership provider class; no suitable method found to override

This is how my CreateUser method looks like:

public override MyMembershipUser CreateUser(string username, string password, string email, string status, int registerd_on, out UserCreationStatus creation_status)

[code...]

Posted: Jul 19, 2010 04:38 PM

View 6 Replies!   View Related
C# - Get Compile Error With Method Override
I have a ProductService class that defines the following methods. It doesn't work, as I will explain further below, but it gives the compile error CS1061: 'ProductService' does not contain a definition for 'GetByid'. Unless I've dropped the ball on method overloading, why is the public overload of GetById not seen by other code?

public IEnumerable<Product> ListActiveByCatId(Guid catId) {
return _entityContext.Products
.Include("Category")
.Where(p => p.Category.id == catId);
}
[code]....

Posted: Nov 29 10 at 20:20

View 4 Replies!   View Related
Web Forms :: ASPX Page_Render Method Override?
[Code]....

[Code]....


Posted: Jan 21, 2010 09:23 AM

View 1 Replies!   View Related
C# - Raise An Event Or Override A Method When The User Logs Out In ASP.NET
I need to do something when the user logs out. I have used ASP.NET Forms Authentication.

What should I override or implement?

I have an ASP.NET login control and I want to empty the basket-viewer when the customer logs out of the system.

Posted: Mar 7 at 6:30

View 2 Replies!   View Related
Web Forms :: No Suitable Method Found
here's my error:

Error1'ASP.admin_new_user2_aspx.GetTypeHashCode()': no suitable method found to overridec:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Files eststatus2production7e352623d1efa770App_Web_cx7fp0f_.18.cs4443

here's the code:

[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override int GetTypeHashCode() {
return 210248864;
}

Posted: Mar 19, 2010 01:15 PM

View 10 Replies!   View Related
Override Potentially Dangerous Script Error?
I'm getting this error below, but it is in Admin pages so it will never be a potentially dangerous request. Is there a way to override it?

A potentially dangerous Request.Form value was detected from the client (ctl00$MainContentPlaceholder$FormView1$FCKeditor7="<p><p>&lt;...").

Description: Request Validation has detected a potentially dangerous client input value, and processing of the request has been aborted. This value may indicate an attempt to compromise the security of your application, such as a cross-site scripting attack. You can disable request validation by setting validateRequest=false in the Page directive or in the configuration section. However, it is strongly recommended that your application explicitly check all inputs in this case.

Exception Details: System.Web.HttpRequestValidationException: A potentially dangerous Request.Form value was detected from the client (ctl00$MainContentPlaceholder$FormView1$FCKeditor7="<p><p>&lt;...").

Posted: Apr 22, 2010 06:35 PM

View 4 Replies!   View Related
MVC :: Override Model Binding Failures Default Error Messages?
I am new to ASP.NET MVC and using ASP.NET MVC 2 with XVal. I am not using DataAnnotationsModelValidatorProvider and instead using NHibernateValidatorNHibernateValidator attributes. I would like to know that, when failing to provide a value for a non nullable type, how can i override the vanilla messages.There are actually two scenarios for non nullable type with model binding failure

1) when the data the user entered isn't compatible with the data type (for example, typing in "abc" for an integer field). The default message for this is: "The value [AttemptedValue] is not valid for [Property]."

2) when the user did not enter any data for a field which is not nullable (for example, an integer field). The default message for this is: "A value is required."

I know that the [Required] validator from DataAnnotationsModelValidatorProvideris treated specially during model binding failures on non-nullable types, so that you're not stuck with the vanilla message 'A value is required.'.

Also The DefaultModelBinder uses [Required] attributefor the second scenario only.Since I am not using DataAnnotationsModelValidatorProvider, I can not use [Required].Bearing in mind that I am already doing all the attribute validation and other business rules validation in my domain layer using XVal , What are my options here?

- Allow the model binding validation errors to occur, and then ignore and remove them from ModelState in my action method and refill it with my custom validation errors?

- Derive a custom model binder from and defaultmodel binder and override the onModeUpdated method ignoring all the validation?

Posted: May 16, 2010 10:10 AM

View 2 Replies!   View Related
Web Forms :: Override Custom Method In Custom Control?
I have created a custom control as can be seen below. this custom control will be used by alot of web form. The question is how to override CheckAllData method in each webform, so i can write my own checking in each webform.

[Code]....

Posted: Feb 17, 2011 09:36 AM

View 5 Replies!   View Related
C# - Override Error Message (The Value 'xxx' Is Not Valid For Age) When Input Incorrect Data Type For Input Field .net Mvc
I've tried to override error message when input incorrect data type in input field on HTML form.For example I have the model like this.

public class Person
{
public string FirstName {get;set;}
public int Age {get;set;}
}

For view, I put text input for Age to get it value.When type some string in Age text box like 'test' and press submit button.
I got this error message ,The value 'xxx' is not valid for AgeHowever, I want to change this message and try many way. There 's nothing effect this message value.

Posted: Aug 24 10 at 12:43

View 1 Replies!   View Related
Is It Possible To Override !DOCTYPE Tag
Is it possible to override <!DOCTYPE> tag?. I have a master page containing

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

and a child page with div tag for displaying HTML content from a web service.

The presence of <!Doctype> makes HTML controls on child page looks stretched out. If <!Doctype> is removed from master page, child screen controls look fine. But, I have been instructed not to remove <!doctype> as it would affect entire web site. So I will have to look for some other solution to this problem.

Posted: Feb 19, 2009 06:45 PM

View 3 Replies!   View Related
C# - Is It Possible To Override ResolveUrl
I use the following my .net applications to resolve the path to an image or css file or javascript file.

<%=ResolveUrl("~/Scripts/myscript.js")%>

<%=ResolveUrl("~/images/myimage.jpg")%>

All my pages and controls inherit from a base page or base user control.

I have tried but didnt succeed in overriding the ResolveUrl method so that I could include some custom logic in the files path.

how I might override the ResolveUrl method? Alternative is to create my own custom method that does similar but would prefer to work with ResolveUrl.

Posted: Dec 14 10 at 18:33

View 2 Replies!   View Related
MVC :: Override HtmlHelper.LabelFor?
I am using VS2010 & MVC2 to develop a web app. I noticed that HtmlHelper.LabelFor doesnt contain an override that accepts either a css class or html attributes. I was thinking about writing my own override for this, but am struggling with it.

The current LabelFor methodaccepts a lambda expression and automatically extrapolates the property name, display name (if specified via [DisplayName] attribute and value and generates the label. How do I write my overridden to do the same, but also insert any htmlAttributes specified such as class, style etc.

Posted: Jul 01, 2010 07:34 PM

View 5 Replies!   View Related
MVC :: Override Default Validations
i cant seem to selectively disable serverside validation using annotations. Data annotations and unobtrusive validation is an awesome feature and has worked out great for us thus far but trying to localize it has been fruitless.

Basicly i have a property in a model object like this (it wraps a DTO)

[Code...]

i can change the output text for things like data range, required, string length etc. but simple stuff like "this field has to be a number" seems hidden away.

Posted: Mar 01, 2011 01:22 PM

View 5 Replies!   View Related
Trying To Override The UniqueID Attribute Of An HtmlInputRadioButton
I'm trying to override the UniqueID attribute of an HtmlInputRadioButton. I'm extending the HtmlInputRadioButton class and using the code below:

[Code]....

But the rendered radio button tag looks like this:

[code]....

Posted: May 13, 2010 04:07 AM

View 1 Replies!   View Related
C# - How To Override Wsdl Generation In Web Services .Net
I would like to create a WebService in .Net who expose multiple WebMethods

I need a WebService version per new implementation (WebMethod or New Property in Business Object), like this :

[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
public class Service : System.Web.Services.WebService
{
[WebMethod]
[WebServiceVersion("1.0")]
public string HelloWorld()
{
return "Hello World";
}
[WebMethod]
[WebServiceVersion("1.1")]
public string NewMethodInVersion1_1()
{
return "Hello World";
}
}

With UrlRewriting or HttpHandler :

HelloWorld WebMethod only : http://localhost/Service/1.0/Service.asmx

HelloWorld WebMethod and NewMethodInVersion1_1 : http://localhost/Service/1.1/Service.asmx

How can i generate a wsdl dynamically for the specific version used by the customer ?

Posted: Aug 4 10 at 11:45

View 3 Replies!   View Related
Security :: How To Override Membership.GetUser()
i have add a new column (CustomeAuth)to aspnet_Users but i need to get the value of this column just like:

Membership.GetUser().UserName

so i can use :

Membership.GetUser().CustomeAuth

Posted: Sep 22, 2010 10:39 AM

View 3 Replies!   View Related
C# - In EF4.1 Code First - Override ConnectionString Name In Web.configuration?
I'm creating a multi-tenant Asp.Net MVC 3 Web app, and using EF4.1 code first for the db model.For development I'm happy to use SqlServerCE in App_Data, and for production this will move to Sql Server 2008.

Say my context is called "MyModels", by default code-first looks for a connection string called "MyModels" in Web.config. This can be told to use a file in App_Data or changed to access a database in SQL2008. All fine so far.

But because of multi-tenancy, I'd like the SqlServerCE filename to match the unique id of the tenant (so App_Data would have "client_x.sdf", "client_y.sdf"; Sql Server 2008 would have separate databases). I can't work out how to direct to these different databases.

I've tried MyModels inheriting from DbContext and supplying a connection string (using a 'placeholder' conn string in Web.config and replacing "{clientId}" with the unique id), and I've also tried setting the connection string in the MyModels constructor:

base.Database.Connection.ConnectionString = xxx;


but this never seems to work. I always get the following error:

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

( it's not yet 'configured' to use SqlServerCE, and so is trying to connect to Sql Server)

Tracing the code, Database.Connection.ConnectionString hasn't been read from Web.config at this point, so I can't search and replace that, and, possibly, it's getting overwritten by the 'placeholder' conn string later in the pipeline.I reckon this must be quite straightforward and I just can't find the 'hook'.

Posted: Mar 23 at 9:53

View 2 Replies!   View Related
AJAX :: Override Icons For ValidatorCalloutExtender?
I have been trying to implement ValidatorCalloutExtender but for some reason I can't assign different icons for "WarningIconImageUrl" or "CloseImageUrl". When I leave them blank then I get the default icons but when I try a different icon set then I keep getting "no image display or "X" for the icons.

I was wondering if anyone else had the same problem or am I doing something wrong since this should be pretty straightforward. The link below is the link I followed, everything works except the icons.

http://www.imaginativeuniversal.com/blog/post/2008/09/04/Styling-the-Validator-Callout-Extender.aspx

Posted: Sep 30, 2010 03:31 PM

View 9 Replies!   View Related
Override Session Timeout In The Code?
I want to make the session timeout for admin users to two hours.. I tried setting Session.Timeout value in the code, but its not working... do I need to do any setting in the config file to make it work?

Posted: Oct 15, 2009 11:39 AM

View 3 Replies!   View Related
MVC :: Override Controller Filter In Action?
If I have a Filter applied to a controller with a property defined as true.

Can I apply the same filter to one of its actions with value false to override the value for that specific action?

Posted: Mar 04, 2010 10:05 PM

View 2 Replies!   View Related
Web Forms :: Override Title Tag In The Behind Code?
I currently use this code to override meta tag:

[Code]....

but how do I over ride title tags?

Posted: Dec 01, 2009 09:22 PM

View 2 Replies!   View Related
How To Manually Remove HTML Tabs / Can Override In Css
I have HTML tables all over the place and really want to avoid having to manually add border="0" cellpadding="0" cellspacing="0" for each of them, can I override this in CSS?

Posted: Mar 31, 2009 05:07 PM

View 8 Replies!   View Related
Override Delete Function In Entity Framework
How can i make my own delete method to prevent that the data really gets deleted? i want to set a datetime field when it gets deleted insted of a normal delete. i read about overriding the submitchanges function, but i don't get it to work

Posted: Apr 30 10 at 12:43

View 3 Replies!   View Related
MVC - Local Resource / Attempting To Override The DisplayNameAttribute?
I am having an issue when attempting to override the DisplayNameAttribute in ASP.NET MVC to provide a localized string. The code itself is straightforward and similar to that in another Stackoverflow post link text

The code works for global resources but not so well for local resources. I have a registration screen and used the Visual Studio "Generate Local Resource" command to create my local resource file. The generated file is named Registration.aspx.resx and the App_LocalResources folder is created relative to the actual Registration.aspx page - as one would expect.

However, when I attempt to get the localized string using:

ResourceManager.GetString(resourceKey)

I receive the following error message.

Could not find any resources
appropriate for the specified culture
or the neutral culture. Make sure
"FullAssemblyName.Views.Account.App_LocalResources.Registration_aspx.resources"
was correctly embedded or linked into
assembly "FullAssemblyName" at compile
time, or that all the satellite
assemblies required are loadable and
fully signed.

Using reflector, I can see that the file is actually Registration.aspx.resources and not Registration_aspx.resources - the underscore/period being the subtle difference

FullAssemblyName.Views.Account.App_LocalResources.Registration.aspx.resources

I have toyed with the code quite a bit but no matter what I do, the file being requested is always different than that copiled in the assembly. For instance, if i rename Registration_aspx (in the generated Registration.aspx.designer.cs class i get the same error but this time the path is "...App_LocalResources.Registrationaspx.resources"

Has anyone run into this? Is there any way I can ensure that the resource found in my assembly has this underscore?

Posted: Jan 17 10 at 0:55

View 1 Replies!   View Related
Crystal Reports :: Want To Override Connection String?
emp database(connection string vsspl-005sqlexpress)employee database(connection string vsspl-002sqlexpress)

runtime employee database when i give print button emp database

the above 4 fig display the problem.. since i'm trying from last 4 days

i've one crystal report which is connected to the database using database expert and connection string is

vsspl-005sqlexpress and i want to override the connection string to vsspl-002sqlexpress..

i've writen the connection string in webconfig file it is working well..

for example. the report is connected to the emp database using database experts..

and the overriding string is connected to the employee database in webconfig file..

when i run it is displaying correct employee database..

but when i give print it is diaplaying the logon prompt with server name same vsspl-005 emp database.

and in the pdf it is printing the eml database. i want the employee database in the pdf and print..

i want to override the connection string both the time while its running and when i give print command in pdf also..

Posted: Sep 16, 2010 07:38 AM

View 4 Replies!   View Related
Web Forms :: Override Connection String On TableAdapaters?
Using TableAdapters I wanted to find an way to get the connection string out of the web.config in production, and override the. . . .

System.Configuration.ConfigurationManager.ConnectionStrings

In order to pull a connection string from (a method, a web service, or what ever) just not the web.config.To return a connection string not from the web.config?

I know we can make the connection string of a table adapter public and change it when we access the table. I want one place (the ConfigurationManager.ConnectionStrings) change to pull the connection string from another method, just not the web.config. I do not keep connection strings in the web.config and would like to override this method.

Posted: Sep 14, 2010 07:10 PM

View 2 Replies!   View Related
Override Resource String In Compiled Assembly?
Is there any way for me to override the values that are stored in a third party assembly in an embedded resource file?

Using Red Gate's .Net reflector, I can see there are 6 resource items, but I only want to change to of them when using it in my web application.

Posted: Feb 24 10 at 16:51

View 1 Replies!   View Related
C# - Override Stylesheets Embedded In Telerik Assembly?
Embedding RadEditor in my page but Master page's CSS is screwing it up ..like Editor's content area is inheriting background-image property of the body tag when I want it to be white..drop down lists inside of Editor too are not displaying correctly..I don't wanna create whole new custom skin

Posted: Oct 29 10 at 10:10

View 1 Replies!   View Related
How To Override A Javascript Function That Is Inside Another File
I am having a problem with the asp:Menu control.

A menu control 2 levels deep does not play well with internet explorer on https.

I continually get an annoying popup.

I think in order to fix this I need to override a function in an automatically included script file.

change this

function PopOut_Show(panelId, hideScrollers, data) {
...
childFrame.src = (data.iframeUrl ? data.iframeUrl : "about:blank");
...
}
to this

function PopOut_Show(panelId, hideScrollers, data) {
...
if(data.iframeUrl)
childFrame.src = data.iframeUrl;
...
}
however I have no clue how I would hack apart the asp:menu control to fix microsoft's javascript in their control.

Is there a way I can just override the function to what I need it to be?

Posted: Oct 29 10 at 21:10

View 2 Replies!   View Related
C# - Override Strongly Typed @page Masterpagefile?
I am working with a third party asp.net application that uses master pages and nested master pages. My needs are to dynamically set the master page files for each page(.aspx). The application by default sets the master page file in the strongly typed @Page directive for each page. I don't want to change the strongly typed directive on each page (over 50 pages) because I am lazy and I want to minimize conflicts with future upgrades.

protected override void OnPreInit(EventArgs e)
{
this.MasterPageFile = "~/MasterPages/MyMaster.master";

Posted: Aug 17 10 at 20:44

View 3 Replies!   View Related
Web Forms :: Does Pageload Command Override Eventhandler?
On page load I have this:

LinkButton1.Attributes.Add("onclick", "window.open('EditClients.aspx','','height=700,width=600');return false")

I also have an event handler for LinkButton1:

Protected Sub LinkButton1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles LinkButton1.Click
Label8.Visible = True
RefreshButton.Visible = True
End Sub

The problem is the event handler is ignored. Label8 and RefreshButton do not becoem visible when clicking Linkbutton1, but the new window opens fine. How can I make all things happen?

Posted: Oct 14, 2010 04:11 AM

View 4 Replies!   View Related
.net - Override Asp:CreateUserWizard To Essentially Not Require A Password?
Got this site with UN/PW set via the Createuserwizard control. lient considers PW too large of a barrier to entry and wants to get rid of the password requirement but still have accounts so users simply log back in with emaill address only. I want the quickest fix possible where I use the same provider and control but just use the same static PW for all users on signup, then sort of enter it for them when they "log in" if they return. Works like a cookie basically but has an actual login. Problem is the Createuserwizard.Password property is read only. Can I do AutoGeneratePassword= true and force it to generate the exact same password every time?

Posted: Mar 12 10 at 20:16

View 1 Replies!   View Related
Override The Methods + Role Of Abstraction And Encapsulation?
1. Why we need override the methods? (i know what is ovwrriding but why ?)I gave answer to extend the functionality of method is it right ? again sub question was ,

Class A
{
method1()[code]....

if i can create the object of Class A in class B and can invok the method then why need to override metho here ? in fact i could not get this question , because i think both concept are irrelevat with each other. why he asked this ?same for overloading.

why we need overloading?If MSIL is there then what is need of CLS(common language runtime ) and CTS(common type system)List the 5 resposibilities of CLR (I explained only CTS,CLS,Garbage collection) was i right . what else?

What is role of abstraction and encapsulation? what the difference between them ? In which situation we have to devlop abstration and encapsulation.


6.What is included in signatures , when we said overloading means same name but different in signature. Is access modifiers included?

7.What is asp.net application life cycle?

8.Let say I am requesting for web application first time (genuine first time), how the request will executes? how IIS will know that for which application is this request is ?

9.If interfaces have empty methods (implicit abstract method) then what is its need? why we say it is reduces the code and provide reusability ?

10.In which scenario we need to implement interfaces?

11.In which circumstances we need to develop abstract classes?

12.Is class is static, means we can not create its instance, we can not derive it then how can we use method containing it? Why we need static classes?
Please guide me about these all question

13 What are the http handlers. http modules? who handle the request and resposes? why need of httpcontext ? what are the limitations of http handler, httprequest, httpcontext, httpresponse.

Posted: Jan 4 at 15:16

View 4 Replies!   View Related
.net - Override IIS Virtual Directory/Url In Web Application Project?
I have a team currently working on a Web Application project, we want to be able to run the project through our local IIS web servers and let each dev map it to whatever virtual directory they like.Currently every time we check in we are stomping on each others virtual dir settings in th cs proj file.I know we could just agree on a virtual directory and stick with it but that does not solve another problem I am having with this where I actually keep multiple copies of the repository on my machine and want to be able to map each to a separate virtual directory.

So the result we are looking for would look like this:Dev1 has a checkout at say c:/dev/Webapp mapped to a virtual dir on their local IIS say localhost/WebAppThen Dev 2 has a checkout at say c:/workspace1/WebApp mapped to a virtual dir say localhost/workspace1/MyWebAppAND Dev 2 has a checkout at say c:/workspace2/WebApp mapped to a virtual dir say localhost/workspace2/WebAppPS. The reason Dev 2 has two checkout is because he uses on for active dev work and the other for merging between branches.

Posted: Mar 2 at 22:10

View 4 Replies!   View Related
Extend QueryableFilterRepeater To Override The Filters Shown?
In previous versions of DynamicData you could override GetFilteredColumns method from FilterRepeater to manage which columns are used to generate filters.

But now FilterRepeater is obsolete, and his successor QueryableFilterRepeater don't have such method.

There is any way to override the columns used for filtering with QueryableFilterRepeater?

Posted: Apr 21 10 at 18:35

View 1 Replies!   View Related
Security :: C# FormsauthenticationTicket Doesn't Override Configuration Timeout
I have a testproject and the forms timeout specified in web.config overrules the timeout which I set in FormsAuthenticationTicket. According the documentation, the timeout (expire date) in FormsAuthenticationTicket must override the timeout in web.config.

Documentation found on:

[URL]

[Code]....

Here is my code:

Web.config:

[Code]....

Login.aspc.cs:

[Code]....

Now, when I login, i get redirected after 1 minute of inactivity. This isn't supposed to happen, right? I have to be redirected after 2 minutes.

Posted: Jan 07, 2010 12:36 PM

View 1 Replies!   View Related
Copyright 2005-08 www.BigResource.com, All rights reserved