|
I don't think you can. Why must you have only one instance running on a client? I'm not even sure how to do that in a windows app let alone a web app. You could only allow one session per log in, but what would you do when the user closes a browser but the session is not expired?
|
|
|
|
|
Hi,
Thanks for your reply
Say if the user request the page we need to hook him to the current session if its still active. i am not sure its possible or not.
|
|
|
|
|
hi,
refer this article
http://www.dotnetspider.com/kb/Article2602.aspx
here you will find two ways of solving your problem....you can implement whichever you find simple.
regards,
Kapil Thakur
(Where's there is Kapil , there is a way) - thakur.kapil@gmail.com
|
|
|
|
|
Hi,
On Building .NET 2.0 Applications which one is more appropriate Typed DataSet or Custom Bussiness Entities.
Which one is good for an application that can be easily adaptive with changes and able to handle complex business rules.
|
|
|
|
|
|
Hi.
Did anyone have experience with DB2 databse. I need to connect to DB2 from my ASP.NET (VB) application and I'm not sure how to do that. I have dvelopment machine (I work on it) and DB2 is installed on another machine.
Thanks,
|
|
|
|
|
Have you checked the DB2 Provider?
|
|
|
|
|
I'm not exactly sure what to do. Is this something that should be added to VS?
I saw provider for connections but couldn't find anything for DB2.
Thanks,
|
|
|
|
|
This may help:
http://www.codeproject.com/dotnet/DotnetDb2.asp
|
|
|
|
|
Thanks. I've seen this one. I just don't understand where I can find the driver.
On top of everything this is for V.8 and we have V.7 somthing of DB2.
|
|
|
|
|
hi
how can i get the ClientId of a control in a gridview footer row from javascript.
the code that i am currently using is like this:
document.getElementById('<%= TextBox1.ClientID %>').value = result[0];
but as textbox1 is not declared in a gridview that above code does not work in a gridview.
thanks for any help
|
|
|
|
|
How i can update following settings at runtime in web.config file using asp.net 2.0
appSettings
add key="ConnectionString" value="server=Release; user id=sa; password=abcdef; database=Superlative; pooling=false;
appSettings
Know Yourself Then Grow Yourself.
|
|
|
|
|
This may help:
http://www.codeproject.com/csharp/readwritexmlini.asp
|
|
|
|
|
..but bear in mind that, as it says in that article:
"...writing to web.config causes the application to end along with all the active Sessions."
cheers
Fred
|
|
|
|
|
Thanks
Know Yourself Then Grow Yourself.
|
|
|
|
|
Dear All
I need a regular expression for a number that can be integer or decimal
something like the javascript function isFinite()
can any1 help me?
Best Regards
3ala2
|
|
|
|
|
Use this Regular expression ^[1-9][0-9]*$
Know Yourself Then Grow Yourself.
|
|
|
|
|
I think you're looking for something like this:
^\d+(\.{0,1}\d+)$
|
|
|
|
|
Thank u very much
Best Regards
3ala2
|
|
|
|
|
I have created the web.config where I have
entered the following:
<system.web>
<identity impersonate="true" userName="WindowsDomain\YourUserName" password="YourPassword" />
</system.web>
And I have created an aspx page with the following code :
<%@ Page Language="VB" %>
<%@ Import Namespace="System.Security.Principal" %>
<%
Dim _user as string = Page.User.Identity.Name
Dim _window as string = System.Security.Principal.WindowsIdentity.GetCurrent().Name
Dim _thread as string = System.Threading.Thread.CurrentPrincipal.Identity.Name
Dim url as string
Session("mySession") = Page.User.Identity.Name
Response.Write (Session("mySession"))
%>
The anonymous check box is cleared from the IIS.
Expected result is when I request the aspx page , not to get promted with a Username & Password. It should get them from the web.config file.
But still I am getting promted to Enter a Username & Password.
Please help ...... I Feel that I am too close now of the solution, I just need one last push.
|
|
|
|
|
hi all..........
pls can anybody help me to display cursor wait while page is loading
my page have the code like this
thank you
|
|
|
|
|
Can u post all your page HTML code??? not just the frameset part
Best Regards,
Haissam Abdul Malak
|
|
|
|
|
|
ASP.NET 1.1
a) How Visual Studio compiles the whole ".cs" files and put them as a single assembly, <project_name>.dll, into the bin folder.
b) How can we do this compilation manually?
c) Why the ".aspx" pages are not included into it?
d) How the runtime will link the "aspx" files with this output DLL in the BIN folder?
e) Whether at runtime any classes are getting generated which pertain to each ".aspx" files? If, whats is the need for compiling only the ".aspx.cs" files?
ASP.NET 2.0
a) aspnet_compiler will compile the whole project and produce the output into a single DLL. How to do this manually?
b) Where the App_Code files got compiled?
c) Even though I put both my ".aspx" files and ".aspx.cs" files in a virtual directory instead of compiling, how things are getting worked at runtime?
Please request you to provide a clean picture on these.
Arun
|
|
|
|
|
Is this your homework or pre-interview questions?
|
|
|
|