|
i m using InProc mode for session in web config,I have set session Timeout="60" for both cookies and session.But all session expires anytime (say after 5 min or 10 min,sometimes 30 min) even when i browsing pages.My application is on single server and i am Not doing any updation for application.
As the session Timout not occurs,so it doesnot redirect me to login page.
Can anyone help me regards this problem???
Thanks in advance
jagmit
|
|
|
|
|
Sessions can timeout for several reasons. Maybe the ASP.NET process is recycling. Or, you are running low on memory in which case sessions that have been inactive for a long time would be deleted.
Using StateServer mode for the session will allow your session to be maintained when the ASP.NET process recycles.
|
|
|
|
|
I have developed a pagination control for controlling which page of data is displayed in a grid at any one time. It takes e.g. 406 employee names, and a max page size of 15, then divides the employees alphabetically between each of a set of page buttons. Each page button has e.g. A to B, like this:
Adm to Bon
Bon to Cas
Cha to Far
Fik to Ila
Ire to Kat
Kes to Mar
Mar to Nei
Neo to Rob
Rom to Sha
Shi to Tha
The to Vir
Vuy to zzA
zzA to zzB
zzB to zzC
....
Now, how should I present this in a web UI? My first consideration is a scrolling table of buttons to the right of the display grid, with auto-scrolling when the mouse pointer moves over the top or bottom edge. Any advice on the aesthetics of this or better suggestions will be appreciated from all the web types on this list.
I do not believe they are right who say that the defects of famous men should be ignored. I think it is better that we should know them. Then, though we are conscious of having faults as glaring as theirs, we can believe that that is no hindrance to our achieving also something of their virtues. - W. Somerset Maugham
My New Blog
|
|
|
|
|
HI, i am new with V Studio 05, i found that some times my partial class get mess up and and my pages stop working fine, for example this is a new page i create, empty on.
this is the aspx file
<%@ Page Language="VB" MasterPageFile="~/index.master" AutoEventWireup="false" CodeFile="faq.aspx.vb" Inherits="faq" title="Untitled Page" %><br />
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"><br />
</asp:Content><br />
and this is the vb file<br />
Partial Class faq<br />
Inherits System.Web.UI.Page<br />
<br />
End Class
this is the error i get,
Compiler Error Message: ASPNET: Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl).
Source Error:
Line 1: Partial Class faq
Line 2: Inherits System.Web.UI.Page
Line 3:
Source File: C:\Inetpub\wwwroot\vpxsports_new\faq.aspx.vb Line: 1
can someone tell me what is goingo on here
|
|
|
|
|
hi,
hw to retrieve controls used in usercontrols,
i mean the id's of a particular controls used
Thanks&Regards,
Priya.
|
|
|
|
|
Priya Cool wrote: i mean the id's of a particular controls used
What do you mean ?
|
|
|
|
|
After Using form authentication for my login page,
when i run my application images r not loading....
Can any body help me??????????
|
|
|
|
|
bhattiprolu wrote: After Using form authentication for my login page,
when i run my application images r not loading....
I think there is no difference between forms authentication and images. How you are referring images ?
|
|
|
|
|
actually i have given some submit button image in my login page, i have taken those images from my project folder itself.
|
|
|
|
|
Hi,
Does anyone have some code or a class file that parses Quicken Interchange
Files. I am looking to parse the files and extract information I need.
Abhishek J
|
|
|
|
|
Sorry, I don't know of any library - however, judging by the QIF spec: http://web.intuit.com/support/quicken/docs/d_qif.html[^]
You should be able to write your own fairly easily.
Me: Can you see the "up" arrow?
User:Errr...ummm....no.
Me: Can you see an arrow that points upwards?
User: Oh yes, I see it now!
-Excerpt from a support call taken by me, 08/31/2007
|
|
|
|
|
Hi all,
What is the use of Write and other options provided in the iis for particular Project, and where do i check log visits.
|
|
|
|
|
Rmesh wrote: What is the use of Write
Permits scripts for writing content.
Rmesh wrote: Directory Browsing i
Directory browsing allows browser to see the directory content if you give url like www.yourdomain.com/directory/ , all the contents will be listed. Usual websites won't allow this because of some security reasons.
Rmesh wrote: and where do i check log visits.
IIS provide's six different types of log file formats. You can use some type of log analyzer to view the log file.
|
|
|
|
|
Hi
I am doing header sorting in my datagrid(ASP.NET 1.1). While doing i am getting underline under each column name of datagrid. I have four columns in my datagrid but i am using header sorting only for three columns. So those three columns showing underline remaining one not showing underline.
So i would like to remove underline from those three coulmns also.
Is anyone has solution for this.
Pls reply me...
Thanks a lot
Prabhakaran
-- modified at 8:50 Friday 7th September, 2007
|
|
|
|
|
prabhakaranns wrote: I am doing header sorting in my datagrid(ASP.NET 1.1). While doing i am getting underline under each column name of datagrid.
Because that will be rendered as a link. You can hide underline by applying styles. Add the following to your style sheet.
A
{
text-decoration: none;
}
A:hover
{
text-decoration: none;
}
prabhakaranns wrote: I have four columns in my datagrid but i am using header sorting only for three columns. So those three columns showing underline remaining one not showing underline.
If you remove underline for all columns, I think it will be tough for user to understand which column having sorting facility.
|
|
|
|
|
I used above code but still its not removing header sorting underline
|
|
|
|
|
prabhakaranns wrote: used above code but still its not removing header sorting underline
Make sure you are referring the styles file where you written above code, in you ASPX page. This is working for me perfectly
|
|
|
|
|
hello all..,
i want to make procedure can decrease totalcost from order table(database:games.dbo) with balance in bill table(database:bank.dbo). my 2 database in same server is name "boy"
i have 2 database like: bank.dbo and games.dbo
in games.dbo, have a table name is order(user_id,no_order,date,totalcost)
in bank.dbo, have a table name like is bill(no_bill,balance)
this is a list of bill table
no_bill balance
111222 200$
222444 10$
this is a list of order table
user_id no_order date totalcost
a 1 1/1/07 50$
when customer insert no_bill(111222) in page and click a button, then bill table became
no_bill balance
111222 150$
222444 10$
when customer insert no_bill(222444) in page and click a button, then message "sorry, your balance is not enough"
is procedure can take data from 2 database?
mystore procedure like:
ALTER PROCEDURE [dbo].[pay]
(
@no_bill AS INT,
@no_order AS int,
@totalcost AS money
)
AS
BEGIN
BEGIN TRANSACTION
DECLARE @balanc AS money
SET @balanc= (SELECT [balance] FROM [Bank.dbo.bill] WHERE [no_bill] = @no_bill)
UPDATE [bill]
SET
[balance] = @balanc - @totalcost
WHERE
[no_bill] = @no_bill
COMMIT TRANSACTION
END
it's output message "Invalid object name 'Bank.dbo.bill'.
Transaction count after EXECUTE indicates that a COMMIT or ROLLBACK TRANSACTION statement is missing. Previous count = 0, current count = 1.
No rows affected.
(0 row(s) returned)
@RETURN_VALUE =
Finished running [dbo].[pay]."
plss.. help...
|
|
|
|
|
change SELECT [balance] FROM [Bank.dbo.bill] WHERE [no_bill] = @no_bill
to
SELECT [balance] FROM Bank.dbo.bill WHERE [no_bill] = @no_bill
I didn't get any requirements for the signature
|
|
|
|
|
thx...
but it can not work too... the error is same...
other idea?
|
|
|
|
|
How do I bind a Dataset to Datagrid using javascript ???
|
|
|
|
|
Sanjay Nicholas Piramal wrote: ow do I bind a Dataset to Datagrid using javascript ???
You can't do this directly with javascript. May be using AJAX can do. But I am not sure regarding binding as usual. I think You need to get data from server and parse all XML nodes and create table tags using javascript.
|
|
|
|
|
how to fire application_end
application_start gets called
but end is not firing
what should i do
thanks
|
|
|
|
|
kalyan_2416 wrote: application_end
It will be fired when application domain ends. Making changes in the web.config will restart application domain.
|
|
|
|
|
Hai all,
While i want to export datagrid to excel/word/text file then i ger the error
Control 'GridView1' of type 'GridView' must be placed inside a form tag with runat=server.
at response.rendercontrol(htmltextwriter);
can any one solve this problem?
Thanks
Subbu.
|
|
|
|