Unable To Figure Out Exact Time

Apr 5, 2010

I have sesssion time out issue. Mine is a very big application and 10 yrs old application, so I m unable to figure it out. I have these timeouts in my web.config file. Session is getting expired in 2-3 min or sometimes I m unable to figure the exact time. Here is my timeout sessions in web.config file

<httpRuntime maxRequestLength="102400" executionTimeout="360"/>
<sessionState mode="StateServer" stateConnectionString=" something" cookieless="false" stateNetworkTimeout="30" timeout="30"/>

View 7 Replies


Similar Messages:

Web Forms :: Displaying Date & Time Which Displays A Figure Between Brackets?

Jul 13, 2010

Working with VB code - I have code which displays a figure between brackets. The figure displayed is a count of the amount of entries made to my textbox and outputs to my placeholder- I hope I make sense here...???Anyways, I'd like to output the correct data and time (at time of textbox entry) instead of the count.

[Code]....

[Code]....

View 5 Replies

Duplicating Controls - Add Exact Duplicate Of Panel On Bottom Of Page With Exact Functionality

Jan 18, 2010

if there is anyway that I could duplicate controls in a asp.net pages. So for example, currently for one of my pages, I have a panel at the top of the page with alot of controls in them ( eg next/previous buttons, labels, trees, etc). However I wanted to add the exact duplicate of this panel on the bottom of the page aswell, with exact functionality.

View 2 Replies

How Can The Exact Same Code And Stored Proc Work Fine The First Time But Fail The Second

Mar 3, 2011

I have a gridview 'gvTemplates' that loads from the Page_Load method. It is using a stored procedure and this works fine. Then I do a search function on that gridview and that works fine. So when I click the search cancel button, which calls the same exact code that loads the gridview from Page_Load, I get the dreaded 'Input string was not in the correct format'.How can the exact same code and stored proc work fine the first time but fail the second?Gridview:

[Code]....

View 3 Replies

Web Forms :: Figure Out Though C# Whether The OS Is 32 Bit Or 64 Bit?

Jan 4, 2010

I need to figure out though c# whether the OS is 32 bit or 64 bit.

Does IntPtr.size is the right way to figure out the version? 4 => 32 and 8=> 64


Does Environment.OSversion.version.major is right way? 5 => 32 and 6=> 64

OR should have to check both of them?

View 2 Replies

How To Figure Out App Runs At 32-bit On A 64-bit Machine

Apr 15, 2010

I have a .NET app (webforms - .NET 3.5) that is running on a 64-bit server as 32-bit (I checked the IntPtr.Size result). The compilation is set to AnyCPU so I would expect that on a 64-bit machine, the app would be run at 64-bit. There are many Third-party programs incorporated into the app, could they be causing a problem? How do I figure out why 64-bit compilation is not being done?

View 1 Replies

MVC :: Trying To Figure Out How To Use SSL For Only Certain Pages On Website?

Oct 13, 2010

I'm trying to figure out how to use SSL for only certain pages on my website. It's an ecommerce site, and I don't want the whole site to use SSL, only the checkout areas. I'm not sure what's needed to set this up, is it all IIS, web.config file, etc. I'm hosting with Discount ASP.Net, and will purcase an SSL cert through them for my site.

View 5 Replies

Web Forms :: Trying To Figure Out A Menu Presentation?

Jul 29, 2010

I'm looking at a site with horizontal menu and sub-items for each item. When an item is clicked, a second horizonal menu is presented under the first, with all the sub menu items for that particular main item. I can do this with the asp.net menu? Almost seems like it would require a second menu control under the first.

View 3 Replies

Request Querystring - Can't Figure Out Syntax

Dec 19, 2010

I'm passing a variable between pages and want to print the value of the variable on my page and don't particularly want to try to get into figuring out the codebehind stuff. I can't figure out the syntax. I'm trying:

Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="WebApplication2.WebForm2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<script runat="server">
Request.Querystring("letter")
</script>

I know I'm passing the variable correctly because it works in a query further down the page, so I suspect I'm just not using Querystring right.

View 1 Replies

Web Forms :: How TO Figure Out From Within A Server Control

Sep 30, 2010

how can I figure out from within a server control wheather it is being used in design mode or in runtime ?

View 5 Replies

AJAX :: Trying To Figure Out What Is The Best Way To Go About Creating Functionality?

Jul 13, 2010

I am trying to figure out what is the best way to go about creating functionality like this[URL]with ajax. I am just looking for the clock countdown functionality and the constant seamless update of the price.

View 5 Replies

Web Forms :: Can't Figure Out How To Close This Tab When It's Finished

Aug 10, 2010

I have a page that has a note to the user about the file they're about to download and a button to click to start the download. When they click the button, it does a Response.Redirect to another page with the following code in its Page_Load:

Response.Clear()
Response.Buffer = True
Response.AppendHeader("Content-disposition", "attachment; filename=" & FileName)
Response.AppendHeader("Content-length", FileSize.ToString)
Response.ContentType = "application/download"
Response.WriteFile(Page.ResolveUrl(FilePath))
Response.Flush()
Response.End()

I want the download to start and then I want this page (which is a tab in the browser) to close.

The code to download the file works fine. I just can't figure out how to close this tab when it's finished. I understand that Response.End means that I can't put any more code this page; it will be ignored. But how do I get this tab to close?

View 5 Replies

Unable To View Image To Control At Run Time

Feb 9, 2010

i m not able to view image assign to the image control at run time. secondly if i assign a new image at run time even that is not visible to me. for example at runtime my coding at button click is

Code:

image1.imageurl="C:Documents and SettingsAll UsersDocumentsMy PicturesSample Pictureswinter.jpg"

i checked and varified the path. but still its not working.

View 6 Replies

Architecture :: Unable To Use Two Master Pages At A Same Time?

Jul 29, 2010

Cant we use two master pages at a same time? for example one for background and another one for menu.. if u know. send me the sample code r link..

View 3 Replies

Web Forms :: Trying To Figure Out If There Is A New Solution To Getting An Asp:dropdownlist Vertical Scrollbar?

Mar 23, 2011

I've been researching an issue for quiet some time, but most of the posts I'm reading are older. I'm trying to figure out if there is a new solution to getting an asp:dropdownlist vertical scrollbar. I have several dropdownlists with fixed widths, but the data that populates these dropdownlist do not fit inside the width. Is there a recent - acceptable workaround or solution? I'm using Visual Studion 2010.

View 4 Replies

SQL Server :: Unable To Save Log Out Time For Logged In User?

Jan 17, 2011

I have success to store the login tim for the user but i am unable to save the logout time for logged in user

When saving logged in time, logout time is saved as null(thats ok for me)

but when user log outs it is saving the logout time on the next row instead of saving in last updated row for that user

I need to calculate the time diffrence in hours for particular date for the users

View 6 Replies

Visual Studio :: How To Increase Height Of Figure Of Class Diagram

Jul 9, 2010

while viewing Class diagram its images are not clear since they are of small size.Its width are increasing but not height. How to increase its height ?

View 1 Replies

Web Forms :: Create A Simple Contact Form For A Website And Cannot Figure?

Jul 26, 2010

I'm trying to create a simple contact form for a website and cannot figure out how to properly configure it. I have a simple code I got off a tutorial (VB), that I pasted inside my Contact.aspx code-behind-page:

[Code]....

It brings up errors everywhere (declarations expected, etc) in the code-behind-page. I'm new to VB so I don't know what I'm missing. The above code is exactly the content in my code-behind. Does anyone know what I'm missing?

View 4 Replies

C# - NHibernate Unable To Convert MySQL Date / Time Value To System?

Jan 7, 2011

I am getting the "Unable to convert MySQL date/time value to System.DateTime" error because from what I can tell I have a record with 0000-00-00 00:00:00. Now while the data should never be that (it should be null) there are cases when this might happen and I don't want my entire application to crash because of it. I am using NHibernate and I tried adding change my connection string to allow zero datetime so the connection string configuration looks like:

<property name="connection.connection_string">
Server=localhost;Database=user_system;User ID=root;Password=root;
Allow Zero Datetime=true;
</property>

However I still receive that error. How can I allow NHibernate to allow zero values for timestamp/datetime/data/time?

View 1 Replies

How To Hide Exact URL In 3.5

Mar 25, 2011

I have a website created using ASP.Net 3.5, C#, VS 2008. It's URL is [URL] and it has SSL certificate installed. My default page is welcome.aspx.

Now anyone types the URL [URL]in address bar it will be redirected to[URL]But I don't want to show the welcome.aspx in the address bar URL. Just I need only [URL] .

View 2 Replies

Custom Server Controls :: Figure Out The Absolute Path To App_data Folder On Project?

Mar 31, 2011

I have an user control that reads the data from app_data folder and does some processing.In design time I'd like to show the row data in control placeholder (using GetDesignTimeHtml).To do that I need to figure out the absolute path to app_data folder on my project.The HttpContext is not available and HostingEnvironment.MapPath returns null.

View 3 Replies

Get The Exact Raw URL In IIS 7.0 Integrated Mode .NET 4.0

Nov 1, 2010

After some changes in web.config now IIS allows characters like ":" in URL but it makes some modifications. For example:

http://localhost/a///b => http://localhost/a/b (remove all slashes but one)
http://localhost/a => http://localhost/a/b (changes backslash with slash)
...
I want URL string from within a HttpHandler (I use Request.RawUrl) as it is without any change.

View 1 Replies

Regular Expression For Exact Match

Mar 16, 2011

I am reading .css fle which is having following 2 css classes:

[code]....

View 11 Replies

Web Forms :: How To Get Exact Path From FileUploadControl

Jan 20, 2011

I want to upload an XML file and after that i've to load it by using XMLDocument and do some changes, then save XML file back to same location where actually l uploaded. But whenever i'm loading XML file and written code for finding path is like..

string path=Path.GetFullPath(FileUpload1.FileName);
but it return path like.. "C:\Users\nagaraju\VegaFIXSettings.xml"
but actually i'm uploading XML file from D:\VegaFIXSettings.xml

how to get actual path when uploading file by using FileUploadControl.

View 3 Replies

How To Accomplish Checkbox Field And The Exact Syntax To Be Used

Aug 1, 2010

n a grid view I have a column named REQUIRED which has a value of either 0 or 1.I added a checkbox templated field to show the above as checked or unchecked instead of0 or 1. I decoded the value Y or N to 1 or 1 in the sqldatasource

<asp:GridView>
<asp:CheckBoxField DataField="BOARD" ReadOnly="True">
<ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
heckBoxField>

When I tried to add the following "Checked='<%# Eval("BOARD") %>' it does not like it and gives an error.How do accomplish the same for the above checkbox field and the exact syntax to be used

View 5 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved