Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

public shared variable? 1

Status
Not open for further replies.

Kicket

Technical User
Jun 15, 2002
155
US
i want have some group of variable shared by couple of html,and asp files. where should i declare them?

it's like in my html i have some var
then i ll link to an asp page
i want my asp use some of the html Variables
any idea
suggestion,please?
ff
 
okay

<%
dim ack
ack = Request.QueryString(&quot;hidden1&quot;)
Response.write(ack)
%>


this works on urs? not on mine
okay, there must be some other problems then
did u go to that webpage, download that zip file?
try run it on ur computer for me, please
it just won't work on mine
:(

ff
 
I'm not sure why the URL you gave is relavent. the way the code from that site is a little different then how I showed you. But I did try it and it does work correctly here. How are you testing your asp pages. PWS?? [bomb]
I may not get it the 1st or 2nd time,
but how sweet that 15th time can be.
admin@onpntwebdesigns.com
 
how are you testing your asp pages?? [bomb]
I may not get it the 1st or 2nd time,
but how sweet that 15th time can be.
admin@onpntwebdesigns.com
 
huh?
is there a difference?
i just use internet explorer,and 1st Page 2000
asp are just like html right?
what u mean how r u testing ur asp pages?
i m confused.

ff
 
asp are completely different then html pages.
asp pages are read by the server and then sent to the browser. you need things such as personal web server PWS or upload your asp pages to a asp capable server to test them online. The reason you are not seeing anything when you try to run a asp page jsut from IE is the browser does not have the capabilities of reading anything within the
<% %>
depending on what operating system you have you can instal PWS with your windows installation CDROM. This is done from add/remove programs in your control panel. I always upload via ftp to my server to test my pages.
[bomb]
I may not get it the 1st or 2nd time,
but how sweet that 15th time can be.
admin@onpntwebdesigns.com
 
save the work here for when you are ready to test the pages
sorry after all this it came down to this.
[cannon] [thumbsup2]

[bomb]
I may not get it the 1st or 2nd time,
but how sweet that 15th time can be.
admin@onpntwebdesigns.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top