Click here to Skip to main content
15,905,874 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: C# How to use HttpWebRequest to dowload document from Java Web Service Pin
Colin Angus Mackay31-Dec-07 1:09
Colin Angus Mackay31-Dec-07 1:09 
GeneralWant to open new window on datagrid editbutton Pin
raushan_931-Dec-07 0:41
raushan_931-Dec-07 0:41 
GeneralRe: Want to open new window on datagrid editbutton Pin
Abhijit Jana31-Dec-07 1:16
professionalAbhijit Jana31-Dec-07 1:16 
GeneralRe: Want to open new window on datagrid editbutton Pin
raushan_931-Dec-07 1:24
raushan_931-Dec-07 1:24 
GeneralRe: Want to open new window on datagrid editbutton Pin
Abhijit Jana31-Dec-07 1:30
professionalAbhijit Jana31-Dec-07 1:30 
Questionhow to give more than one column to the datavalue field of the dropdown field Pin
jagan12330-Dec-07 23:59
jagan12330-Dec-07 23:59 
AnswerRe: how to give more than one column to the datavalue field of the dropdown field Pin
DotNetXenon31-Dec-07 5:25
DotNetXenon31-Dec-07 5:25 
GeneralNeed Tech. support in ASP.NET 2.0. Pin
S R Madhavan30-Dec-07 23:42
S R Madhavan30-Dec-07 23:42 
We need Tech. support in ASP.NET 2.0.

We are developing an alumni portal for our college in ASP.NET 2.0.
We are facing session management problem in our website. We have given an individual session management for alumni people in the site.

Whenever i try to login to the individual session area by providing the right username and password, the session has been immediately terminated and exited from that area with the message of session timed out.

But locally its working normal. I dont know that whether the problem is on the remote server itself or in our web.config file itself.

Here bellow i have given the web.config setting we are using:

<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<appSettings/>

<connectionStrings>

<remove name="LocalSqlServer" />
<add name="LocalSqlServer" connectionString="Data Source=.\SQLExpress;Integrated Security=SSPI;Initial Catalog=jorya_aspnetdb" />
<add name="sona_alumniConStr" connectionString="server=ipaddress;user id=username;pwd=****;database=sona"
providerName="System.Data.SqlClient" />

</connectionStrings>

<system.web>
<identity impersonate="true"/>
<authorization>
<allow users="*"/>
</authorization>

<pages enableEventValidation="false" viewStateEncryptionMode="Never"/>

<httpHandlers>
<add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false"/>
</httpHandlers>

<compilation debug="false">
<buildProviders>
<add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
</buildProviders>
</compilation>

<authentication mode="Windows"/>

<customErrors mode="Off" />

<httpRuntime enableKernelOutputCache="false"/>

<sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.0:42424"
sqlConnectionString="Data Source=127.0.0.0;
user id=username;pwd=*****;Trusted_Connection=yes"
cookieless="false"
timeout="20"
/>

One more thing we are checking the individual session user by the following code in each page of that session. the code is below:

<%
if (!(Session["Uname"].Equals(null) || Session["Uname"].Equals("")))
{
%>
Html Statements to display the page.
<%
}
else
{
Response.Redirect(@"..\esctlogin.aspx?alert=Unknown User or Session Timed Out. Try again..");
}

%>

If there is any changes should be made in web.config file, pls inform me.
we are facing this problem since 3months.
we need solution to this.... so pls help me to solve this. pls forward this to your friends to find any solutions.

Thank you for your co-operation and i lookforward to here from you.

Thanks and Regards,
r mohan.

GeneralRe: Need Tech. support in ASP.NET 2.0. Pin
Paul Conrad31-Dec-07 12:52
professionalPaul Conrad31-Dec-07 12:52 
GeneralProblem with UserControl Pin
amin_behzadi30-Dec-07 22:29
professionalamin_behzadi30-Dec-07 22:29 
GeneralRe: Problem with UserControl Pin
Abhijit Jana31-Dec-07 1:38
professionalAbhijit Jana31-Dec-07 1:38 
Generalis datatable in loop kills the application speed Pin
jagan12330-Dec-07 21:14
jagan12330-Dec-07 21:14 
GeneralRe: is datatable in loop kills the application speed Pin
Michael Sync30-Dec-07 21:22
Michael Sync30-Dec-07 21:22 
GeneralRe: is datatable in loop kills the application speed Pin
N a v a n e e t h30-Dec-07 21:37
N a v a n e e t h30-Dec-07 21:37 
GeneralRe: is datatable in loop kills the application speed Pin
jagan12330-Dec-07 21:50
jagan12330-Dec-07 21:50 
GeneralRe: is datatable in loop kills the application speed Pin
N a v a n e e t h30-Dec-07 22:00
N a v a n e e t h30-Dec-07 22:00 
Generalplease help Pin
Basheer30-Dec-07 21:13
Basheer30-Dec-07 21:13 
GeneralRe: please help Pin
Michael Sync30-Dec-07 21:20
Michael Sync30-Dec-07 21:20 
GeneralRe: please help Pin
Abhijit Jana31-Dec-07 1:17
professionalAbhijit Jana31-Dec-07 1:17 
GeneralRe: please help Pin
Paul Conrad31-Dec-07 10:32
professionalPaul Conrad31-Dec-07 10:32 
GeneralImage Inserting Pbm Pin
SreejithAchutan30-Dec-07 20:53
SreejithAchutan30-Dec-07 20:53 
GeneralDataDridView Have A Footer Pin
Thaer Hamael30-Dec-07 20:47
Thaer Hamael30-Dec-07 20:47 
GeneralRe: DataDridView Have A Footer Pin
Michael Sync30-Dec-07 21:05
Michael Sync30-Dec-07 21:05 
QuestionRe: DataDridView Have A Footer Pin
Sun Rays30-Dec-07 21:06
Sun Rays30-Dec-07 21:06 
GeneralRe: DataDridView Have A Footer Pin
Michael Sync30-Dec-07 21:10
Michael Sync30-Dec-07 21:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.