How to investigate what is causing Session expiry?
I would like to give some advise to end-users who have the following problem with our website:
If Session("xxxx") Is Nothing Then say something.. WHY??
Can I add something to web.config to make sessions last longer or should I read the IIS log files to see why this happens?
...
I have two different asp.net web applications both referencing the same dll e.g. SharedLibrary.dll.
I want to know if there is a way of adding some web.config setting to one of the application's config files to avoid the need to have two copies of the dll lying around.
My [simplified] directory structure is as follows:
\root
\Adm...
Hi there
I am utilising this Membership Provider. I am stuck with getting the User List + Profile (FirstName, LastName, Title etc etc)
I know that there is a method for Membership.GetAllUsers() but I don't know how to combine this with FirstName, LastName that I stored in Profile Provider.
Thanks
...
I have a wizard control in my asp.net 2.0 project, and it contains a few steps. The second step has a textbox with a standard requiredfieldvalidator control attached to it. When the user clicks Next and the box is empty, the validator complains, all is normal.
However, when the user uses the sidebar steps to skip to the next-to-last ste...
I have telerik RadGrid which is in edit mode. Each cell contains NumericTextBox. Is it possible to calculate one cell based on other cells in the same row (on client side).
For example if I have a row which contains cells like price and item I want on every change to calculate total price but on client side, without going to server sid...
i have a dynamically created gridview button that fires off a modal popup when clicked. I do this onclientside like so:
function openModal(btnId, v) {
deptdata(v);
// __doPostBack('<%=DropDownList1.ClientID %>', '');
btn = document.getElementById(btnId);
btn.click();
}
function deptdata(v) {
document.getElementById('<%=ve...
Hi
I have a web app using forms authentication. When I perform the following steps
Let the login cookie expire
Click on a link that requires a logged in user
The user is redirected to the login page
Click the browser back button
The user is redirected to the login page again
Log in using a valid username/password
I get this exceptio...
I am having trouble accessing the data field. I receive the error: Databinding methods such as Eval(), XPath(), and Bind() can only be used in the context of a databound control.
I can get the value but using <%# getOpenJobs((string)Eval("ParentPart")) %> but I need to use it in the if to display a certian picture if it passes the condi...
Hi,
I have a element contained in a user control (header). This div includes sub divs inside it. One of them includes user options. The user options div () displays the username of the logged in user, and couple of links related to already signed in users such as logout, settings etc.. the "user_options" div is absolutely positioned wi...
Hi all,
First off, let me clarify the platforms we are using. We have an ASP.NET 2.0 app calling a web service which was created and is hosted on webMethods (now SoftwareAG) Integration Server 7.1.2.
The issue we are experiencing appears to occur every 10-20 minutes under a moderate volume of attempts. The .NET app tries to call the w...
How do I change my user's password with the ASP.NET configuration Tool? I can't and I guess its because I need to do something to the web.config?
...
I have created a base controller which overrides Initialize and sets a cookie and saves some data in the DB. Here I also need to check if a cookie is set and if it is not redirect to an error page.
Users of this site are coming from a store locater on another site which passes the store ID to me and I set it in a cookie. I need to make...
Hi ,
i got a download page , there 3 download option , Word , Zip , PDF .. and there is a folder in there so many .DOC file. I want when a user click ZIP option in page , ASP.NET zip this folder with doc files than it will be temp zip file , and then client will save it from server.When user's download is finished then tempZip file will...
Hello all. I am just throwing this out for thoughts from the community.
We are creating an installer for a web application that will be installing our web application and provisioning a database. The database can be on the web server or a remote machine. We will also give the users an option to point to an existing database. The ins...
I run an ASP.NET application on IIS 6.0. Usually I have compression turned on for both dynamic and static files. However, I've turned compression off temporarily, but "ScriptResource.axd" is still sent compressed. This does not feel like a misconfiguration, as "WebResource.axd" is not compressed.
What is the difference between ScriptRes...
I'm seeing it pop up more and more and not really understanding the purpose of it? Can I only use it when I am developing locally on my desktop?
Or can I put a commercial site on a server with say Win2003 thats using VistaDB? Is it faster than using a SQL DB? Is it secure?
Confused...
...
A client uses classic ASP to log in to their web based backoffice.
I have written a new ASP.Net app to be included in the backoffice, and I need to utilize the already existing login-system, so that when they are logged in there, they don't need to log in again in the new ASP.Net app.
Logins and passwords are stored as clear text in a ...
I'm using the System.Drawing classes to generate thumbnails and watermarked images from user-uploaded photos. The users are also able to crop the images using jCrop after uploading the original. I've taken over this code from someone else, and am looking to simplify and optimize it (it's being used on a high-traffic website).
The previo...
I am developing web applications with c#, Aspnet 3.5, and Ajax 2.0.
Question - I run Application_1 in ie7. I would like to programmatically start running Application_2 from Application_1 in a new tab, no matter what the client settings are.
Until now I have been opening Application_2 in a new window from Application_1 using
Scri...
I am fairly new to ASP.NET and I discovered repeaters recently. Some people use them, other don't and I'm not sure which solution would be the best practice.
From what I've experienced, it makes simple operation (display a list) simple, but as soon as you want to do more complicated things the complexity explodes, logic wise.
Maybe it...