|
Sorry, I was referring to accessing the query string varaibles. I don't think there is any way to access session variables across web applications. ASP.NET registers the session variables with the application so each application has it's own variables.
I just use query strings cause it's easier.
The best times in life are the ones you can't remember!!!
|
|
|
|
|
Hi,
I have one work around for this,
Any have this applications (A & B) are gonna be available on the same server and share the same machin.config file, So what you can do is add a new key and have some default value set for the key and during runtime set the value for that key from Application 'A' and access the same from the Application 'B' ensure there is no default value so that you can get the value set by the Application 'A'
Mohan
|
|
|
|
|
The second work around is:
1) Have a common helper class in the Application class that should be a static singleton class and define the attributes according to your requirement(s) in the class
2) Set the value in the respective variable of that class(Singleton) from Application 'A'
3) Add the refernce of the application in Applicatin 'B' and include the namespace and access call the custom method(has to be defined in the Singleton class of app 'A') that inturn returns the required value also it is persist accross applications
I'm sure this would be the appropriate solution
Mohan
|
|
|
|
|
Form Posting should be more safe, secure and reliable.
|
|
|
|
|
Hi,
Can you guide me how to create a XSD schema in VS 2005 adhearing webservice as a source for the schema?
From the Visual Studio 2005, I can able to create a new XSD from the New Item dialog box, but I culd not able to proceed to create a XSD for a webservice? Please give me the solutin for this?
Thanks in advance
Mohan
|
|
|
|
|
Hi Dear All,
"Having problem in making of website in ASP.NET using C#.NET with MS-Access"
I having problem with textbox
I want to add date in textbox in date formate
what should i do?
like. Date is 12/11/2006 i want directly add date in textbox The TextBox should Look Like
" __/__/____" and also Time for TextBox " _ _:_ _ p.m."
I hope u understand
please reply me as soon as possible
Thanks,
Vipul
Vipul
|
|
|
|
|
http://www.cnblogs.com/codingcow/archive/2006/07/23/113339.html
TextBox1.Text = DateTime.Now.ToString("MM/dd/yyyy");
TextBox1.Text = DateTime.Now.ToString("hh:mm tt");
|
|
|
|
|
Thanks
Dear
But Dear I dont want coding format I want in design time disply when i run my web application my TEXTBOX should LOOK LIKE "__/__/____" and Time will be "__:__" on Textbox
{If u know the VB 6.0, MaskedBox Control is there for date/time/etc.,,}
and when i entered my date my TextBox should Look Like as a "12/12/2006" and Time "12:00"
I think u understood very well
Please reply ASAP.
Thanks
Vipul
Vipul
|
|
|
|
|
|
Thanx Once again Dear
I instal custom Control but how can i use this ctl in ASP.net how can i designing,scripting i dnt know so plz give right direction as well as complete description
Thanx
Vipul
Vipul
|
|
|
|
|
You could try something like DateTime.Now.ToString("dd/MM/yyyy")
|
|
|
|
|
Thanks
Dear
But Dear I dont want coding format I want in design time disply when i run my web application my TEXTBOX should LOOK LIKE "__/__/____" and Time will be "__:__" on Textbox
{If u know the VB 6.0, MaskedBox Control is there for date/time/etc.,,}
and when i entered my date my TextBox should Look Like as a "12/12/2006" and Time "12:00"
I think u understood very well
Please reply ASAP.
Thanks
Vipul
|
|
|
|
|
I have seen an article in the asp.net articles section on here that deals with this somebody had developed a control that extends the textbox control to do exactly what you need
|
|
|
|
|
|
hi all,
my problem as follows, here i am using datagrid for display of persons name and ticket numbers in item template . it is working fine . the problem here i am getting is i want to display winning ticket number as bold in group of tickect nmbers . which are sparated by comma . can u help me in this please .
regards ,
guru
P.gurukiran
|
|
|
|
|
try to make a template column
When you get mad...THINK twice that the only advice
Tamimi - Code
|
|
|
|
|
hi Tamimi ,
i am displaying data in label by using template colum only but i am trying lot to display perticular ticket number in bold .
P.gurukiran
|
|
|
|
|
|
I think u can put the code in Item Data Bound event of datagird.
|
|
|
|
|
hi all,
I'm using Microsoft Excel Object library 11.0 to create an Excel sheet, write some values and read it to send it to the client side. I'm closing the Excel application using Excel.Quit(), but it still resides in the TaskManager, occupying 7000K+ memory. For each request, more such objects are created, and doesn't terminate. Anybody got some suggestions??
Important
|
|
|
|
|
This is a known issue, this is why using Office automation on the server is not recommended. check out this link.
http://support.microsoft.com/kb/257757
You may have to write a little utility that will go an clear up the Excel objects, or alternatively you can take a look at Office 2007, that I believe will be able to be used in automation on the server.
|
|
|
|
|
Hi Gary,
Thank you for your valuable reply. I tried to clear up the excel objects after closing them, but nothing seems to work. I used system.Runtime.InteropServices.Marshal.ReleaseComObject(<excelobject>) for this, but no use. Could you please give me any hints on clearing up these resident objects? That would be of immense help to me..
Regards,
Vigith.
|
|
|
|
|
Unfortunately I have nothing to hand at the minute, and my laptop is in London at the moment and I am in Dublin, so I won't be able to get my code till about 2 weeks.
Sorry for this, but I will try rack my memory for something for you.
Regards,
Gary
|
|
|
|
|
|