|
if i created an object on the server using server.createobject (blah).
How can i use this same created object on different pages??
Pelase help. Thanks.
|
|
|
|
|
hi,
i think using session it is possible
set x =server.createobject(blah)
session("blah")=x
use this session in all the pages till it is alive.
i hope this will help u
|
|
|
|
|
What are they...? How many HTML embedded langs are there...?
ASP
PHP
These are i'm familar with and seem to be the most popular on hosting services...but there must be more no...?
Python
JSP
Are these HTML embedded langs...?
p.s-Can you use perl as the index page for yer website...?
Thanx!
"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
|
|
|
|
|
how can i create a timer in asp that will call a function every second to change some text in a text box.
e.g.
Request.Form("txtText") = "1 Second"
Request.Form("txtText") = "2 Seconds"
Request.Form("txtText") = "3 Seconds"
Please help.
|
|
|
|
|
ASP is a server side scripting language...you can't refresh your webpage from the server (I think). You have two options as far as I see it...
1) Use JavaScript to periodically refresh yer page
2) There is a META tag attribute you can use to refresh your page also.
So says MSDN, i'm not sure if it's cross browser friendly
The following example causes the browser to reload the document every two seconds.
<META HTTP-EQUIV="REFRESH" CONTENT=2>
Cheers!
"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
|
|
|
|
|
Hello,
How do I have a web page viewed by the user in a language other than English? What special care do I need to take? Is it possible that the user can see this page without downloading any fonts or something?
Thanks
Hitesh
|
|
|
|
|
I want to know how to fill nodes in TreeView Control by using ASP;)
KT
|
|
|
|
|
Hey Folks:
Im pretty new to application development in ASP andVBScript.
IM having trouble with sessions.
I have the global.asa and am trying to access a report number variable from that file for all the pages thats dependent on it.I have used Server.transfer to load the second form after the first is completed..But yet my trouble is when the second form is loaded it opens a new session.
Where is the mistake??Please suggest possible places where I might have made errors
Why Need Parking lots in Bars when Drunken Driving is Prohibited
|
|
|
|
|
I don't believe the problem is yours. I've run into this problem also when the browser is set to reject cookies. As an alternative you can always pass the numer as a querystring.
|
|
|
|
|
now thatssomething i wanted to find out..How do i pass on info from one form to another using query string..well letsassume my report number is 789 and its stored in the textbox txt_reportnumber..
So this means Response.write("txt_reportnumber")would give me the value out on screen.Now instead of it giving out on screen if i want it available in another form how do i pass it in query string..
i mean
Response.redirect "form2.asp?reportnumber=??"
I mean i have tried about 4/5 times.
"form2.asp?reportnumber=23" will work.But if instead of 23 i wanted to pass a variable value collected in the form thats submitting this response i dont know how to do it.
pLEASE HELP ME IN THIS.sEND ME SOME CODE OR SOMETHING AND I CAN FIGURE IT OUT THEN.
regards
PradS
Why Need Parking lots in Bars when Drunken Driving is Prohibited
|
|
|
|
|
How can I make simple countdown effect:
10, 9, 8, 7, ... 3, 2, 1, 0
The span beetwen digit appearance should be 1 second...
Thank you in advance
Goran
|
|
|
|
|
|
I created a button on my asp.net page that when clicked did the following
private void Button1_Click(object sender, System.EventArgs e)
{
// access the registry
Microsoft.Win32.RegistryKey s;
s=Microsoft.Win32.Registry.LocalMachine.OpenSubKey( @"Software\ODBC\ODBC.INI\ODBC Data Sources" );
// make sure we have a path there
if (s!=null)
{
string []xx = s.GetValueNames();
Label1.Text="";
// walk list
for (int i=0;i
|
|
|
|
|
I use a form to display combos and edit boxes. I read all the details using javascript. I do NOT wish to submit the form ever, although when the user presses ENTER the default action is to POST the form. How can I stop this please?
I feel like I'm diagonally parked in a parallel universe
Jeremy Davis
http://www.astad.org http://www.jvf.co.uk
|
|
|
|
|
in the form tag, put onSubmit="return false;" , or just get rid of the form tag all together. If you are not submitting it, you dont need it.
|
|
|
|
|
|
Hi all,
I would like to know what is Microsoft Visual C++ .NET standard?
Is it new version of Microsoft development studio?
If so what is new with this or what I can do more?
Can I compile application built with VC++ 6.0 if I install MS VC++ .NET standard?
thanks
regards
/rsasalm
|
|
|
|
|
I'm trying to do the following 2 things:
1. log the referrer.
I've tried the following, but get a object expected error.
Request.UrlReferrer.ToString();
Any ideas?
2. I have 2 domain names pointing to one site and I want to find out which is being requested. The URL would be www.one.com or www.two.com, but I'm not sure how to get this from the Request object.
Any code examples would be cool.
Cheers,
Simon
"Every good work of software starts by scratching a developer's personal itch.", Eric S. Raymond
|
|
|
|
|
- You may not always have a referrer, e.g. if the user types in the URL. In this case, the "UrlReferrer" property will probably be
null ; - Look at
Request.ServerVariables.Item("SERVER_NAME") , which should contain either "www.one.com" or "www.two.com" depending on the domain;
|
|
|
|
|
Hi !
I have a table with 2 columns ; the first's width is 60% and the second's 40%. I need to know the real width of the columns in pixels after the construction of the table ! How can I do this ?
Thanks for any help.
Emmanuel Derriey
|
|
|
|
|
What would happen if you assigned an ID to both of the columns and then used the DOM to check the width after load of the page?
Cheers,
Simon
"Every good work of software starts by scratching a developer's personal itch.", Eric S. Raymond
|
|
|
|
|
... I retreive : "60%" for the first, and "40%" for the second...
Emmanuel Derriey
|
|
|
|
|
Try accessing the clientWidth property, instead of the width property.
|
|
|
|
|
I tried, as well as offsetWidth, but neighter clientWidth nor offsetWidth give me the good width...
Emmanuel Derriey
|
|
|
|
|
thanks!
prefer having source codes!
asp best!
here in cp.com have such stuffs,but they do not meet all my demands!
|
|
|
|