|
Hi can anyone tel me the situations where to use session variables and application variables.
thanx
|
|
|
|
|
you can call Session vaiables and application variables on the page_load event.
Regards,
Satips.
|
|
|
|
|
|
I we want to share data between the pages within a session, we have to
use Session variables.
To share data between the applications , we have to use Application variables.
Regards,
Arun Kumar.A
|
|
|
|
|
|
Session variables are for perticular seesion i.e life span is only for that session afer user logs out or session ends this varaibles no longer exist .
Application variables are for the application level they exist beyond n numbers of seesion untill application is running .
Take an example
IF i want to know number of users using my website at same time i will use Application variable for that.
Where as if i want to know time span for which user was on line i will use session variable
Thanks and Regards
Sandeep
If you want something you never had,
do something you have never done!
|
|
|
|
|
|
I have been trying to send an email from a form using a sendmail script that I found on this site by Nathan Ridley. I have implemeted it and am having trouble getting it to send the email. There is a test mode for the script that works fine. I am sending it using the HTML template and when it is in test mode it comes up in the browser no problem. When I set test mode to no, I submit the form and get the confirmation page but no email is sent. I have tried multiple emails and also tried to add a few lines a code I have seen on other send mail scripts, but when I change the code I get errors. I get no errors with the script Nathan wrote, there is just no email sent. I am wondering if anyone has any recomendations for me.
|
|
|
|
|
Did you check if Virus is blocking in sending the mail.
or what error it shows while you send the mail?
Regards,
Satips.
|
|
|
|
|
I din't think about antivirus blocking it. I will look into that. i don't get any error when I hit the submit button. I am taken to the confirmation page by the redirect just like it is supposed to, but no email is sent. I am wondering if it is a server setting that I over looked.
|
|
|
|
|
Let we know what is happening in your code.
Paste your code here we will check it out what's wrong in the code.
Regards,
Satips.
|
|
|
|
|
scorpio_07 wrote: found on this site by Nathan Ridley
the best way is asking author...we cannot know what problem with your code..
<< >>
|
|
|
|
|
Hello
I have a PDA application that has been developed using VB 2005 smart device.
The PDA has been designed to access a web service and download data from a database that the web service can access.
However, the user will not know the location of web reference of the web service until after they install the PDA.
So the web reference will have to be configured when the user starts the PDA application. The user might also want to configure the PDA to use another web service so this will have to be configured to change web services.
Before I used VS to add the web reference during development. However, this cannot be done now as only the user will know what web service to connect to.
Is there any method that can be used to add a web reference during the run-time of the PDA application, and change to another web service?
Many thanks for any suggestions,
Steve
|
|
|
|
|
I'm developing Chat application in Flash. The User Login page is in Asp.net, the Registered Users can Entered in to Flash chat Window, In that Window I have to include the Username.
How to Get the user name from Asp.net page to Flash?
Solve this PLZ.
Thanks In Advance
|
|
|
|
|
As i said yesterday did you enhance the Asp.Net pages with javascript and call it in a flash.
that will be the solution to your problem.
Regards,
Satips.
|
|
|
|
|
Can U give me any sample code?
|
|
|
|
|
I have hard coded the values as below
<siteMapNode url="~/Members/Memberscomposemail.aspx?otherCall=No&email=k.pulpa@gmail.com&k=7" title="Compose Mail" description="Compose Mail"></siteMapNode>
How to pass dynamically the values in the query String of the sitemap
with thanks and regards,
kaushik pulpa
|
|
|
|
|
I need to create a light weight Questionpaper Application in .Net, which a user can download from web.
After installation, the application should contact my webserver to fetch questions and display to the user and at the end of
the test, all the user responses need to be saved to my database online. Can someone advise what .NET technology I should
use to get this accomplished?
i thought of using ASP .Net for this application, but there are issues like browser compatability, i need to disable forward
and backward buttons. Is there any solution for this?
D.Willington
|
|
|
|
|
willington.d wrote: i thought of using ASP .Net for this application, but there are issues like browser compatability,
i don't thing so you can use asp.net for your application
willington.d wrote: i need to disable forward and backward buttons. Is there any solution for this?
Why are you showing Tool bar in your application start your application in
new Window and disable its tool box also disable some of the keys such as Backspace
javascript for it id
window.open('TestHomepage.asox','null',"height=500, width=600,status=yes,toolbar=no, menubar=yes,location=no");
Thanks and Regards
Sandeep
If you want something you never had,
do something you have never done!
|
|
|
|
|
I have to start Java through the batch launched from Process.Start(filename, params). The batch file along with -CLASSPATH for Java is on the D: drive of the Win 2003 server. It doesn't work. Any ideas?
laguna
|
|
|
|
|
What's problem? Cannot start the process? if so, IMO it's related to ASP.NET permission...grant the execution for this account
<< >>
|
|
|
|
|
Thank you, enjoycrack...The problem was with the permissions to the cmd.exe. Command executable should run under local system. In my case it was under the default Network User. But you were right about permissions.
laguna
|
|
|
|
|
Which Event fires when a Leaf is clicked.
I have a TreeView. The NoExpandImageUrl has an icon. When the user clicks the URL on one of these child nodes, a javascript pops open a new window. I want the node on the parent page to bold and change icons. What events should I be using? Also, does EnableViewState need to be true?
Thank you.
|
|
|
|
|
I have a problem with TextBox control . In funtion Page_Load , I set TextBox.Text = a string in my database , I think if I input a sring in textbox , the value of textbox will change but it isn`t . How can I set a new value for TextBox ?
-- modified at 21:55 Wednesday 25th April, 2007
This is my code .
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load<br />
xDoc.Load(Server.MapPath("Information.xml"))<br />
Dim node As XmlElement = xDoc.DocumentElement<br />
txtEmail.Text = node.Item("Email").InnerText<br />
End Sub
If the old user in my web want to change your Profile , He only input new his information (Ex : Email or Phone but Address, Name , ... don`t change ) I want to load his Information on XML file to TextBox control and He only repair on it . But line txtEmail.Text = node.Item("Email").InnerText set value for txtEmail and not change value if you insert new string . Thanks for your care.
P/S : How can I upload my code in this message ?
|
|
|
|
|
Are you using textbox in password mode?
<< >>
|
|
|
|