close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

newbie to google maps pro

Thread began 3/30/2009 9:43 am by chris284465 | Last modified 4/03/2009 7:32 am by chris284465 | 8216 views | 9 replies

chris284465

hi ray, using asp not php.

using wa cookies kit to set the session value, but for whatever reason, when i try to apply that session value to another page, it doesn't pick up the value.

i've got this page which has the form for entering the postcode and on clicking the button fires over to what would be the promaps page

<%@LANGUAGE="VBSCRIPT"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/PitairlieGarage.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>HOW TO FIND US - Pitairlie Garage</title>
<!-- InstanceEndEditable -->
<style type="text/css" media="all">
<!--
@import url("css/pitairliescreen.css");
-->
</style>
<style type="text/css" media="print">
<!--
@import url("css/pitairlieprint.css");
-->
</style>
<!--[if IE 5]>
<style type="text/css">
/* IE 5 does not use the standard box model, so the column widths are overidden to render the page correctly. */
#outerWrapper #contentWrapper #leftColumn1 {
width: 220px;
}
</style>
<![endif]-->
<!--[if IE]>
<style type="text/css">
/* The proprietary zoom property gives IE the hasLayout property which addresses several bugs. */
#outerWrapper #contentWrapper #content {
zoom: 1;
}
</style>
<![endif]-->
<!-- InstanceBeginEditable name="head" -->
<script type="text/javascript" src="CSSMenuWriter/cssmw/menu.js"></script>
<style type="text/css" media="all">
<!--
@import url("CSSMenuWriter/cssmw/menu.css");
-->
</style>
<!--[if lte IE 6]>
<style type="text/css" media="all">
@import url("../CSSMenuWriter/cssmw/menu_ie.css");
</style>
<![endif]-->
<!-- InstanceEndEditable -->
</head>

<body>

<div id="outerWrapper">
<div id="header"><a href="contact.asp"><img src="images/headerimage.jpg" width="780" height="250" alt="headerimage" /></a></div>
<div id="topNavigation">
<!--#include file="CSSMenuWriter/cssmw/menu.asp" --></div>
<!-- InstanceBeginEditable name="editable area" -->
<div id="contentWrapper">
<div id="leftColumn1">
<h2>OPENING HOURS</h2>
<p>Monday to Friday:<br />
07:30 - 17:30</p>
<p>Saturday:<br />
07:30 - 16:00 (Sales)<br />
07:30 - 13:00 (Workshop) </p>
<p>Sunday (Sales & fuel only):<br />
12:00 - 16:00</p>
<p>&nbsp;</p>
<p align="center"><a href="http://www.smta.co.uk"><img src="images/smta.gif" alt="smta" width="92" height="55" id="smta" /></a></p>
<p align="center"><a href="http://www.blackhorse.co.uk/motor/motor_index.aspx"><img src="images/black_horse.jpg" alt="Blackhorse finance" width="176" height="80" id="blackhorse" /></a></p>
<p align="center"><a href="http://www.uccc.co.uk"><img src="images/ucccsign.gif" alt="UCCC" width="76" height="100" id="uccc" /></a></p>
</div>
<div id="content">
<h1>HOW TO FIND US</h1>
<p>&nbsp;</p>
<p>enter your postcode and submit to get directions to find us!</p>
<form id="postcodesubmit" method="post" action="directions.asp">
<input name="postcodefield" type="text" id="postcodefield" value="enter postcode here" onclick="this.value''" />
<input name="postcodesubmitbutton" type="submit" id="postcodesubmitbutton" value="Get Directions!" />
<%
if (cStr(cStr(Request.Form("postcodesubmitbutton"))) <> "") then
Session("promapspostcode") = "" & cStr(cStr(Request.Form("postcodefield"))) & ""
end if
%>
</form>
<p>&nbsp; </p>
</div>
<br class="clearFloat" />
</div>
<!-- InstanceEndEditable -->
<div id="footerlogos">
<div align="center"><a href="http://validator.w3.org/check?uri=referer"><img
src="http://www.w3.org/Icons/valid-xhtml10-blue"
alt="Valid XHTML 1.0 Strict" height="31" width="88" /></a>
<a href="Templates/www.caswebsolutions.net"><img src="images/casweb.jpg" width="150" height="38" alt="caswebsolutions" /></a></div>
</div>
<div id="footer">&copy; Pitairlie Garage 2009</div>
</div>
</div>

</body>
<!-- InstanceEnd --></html>



instead of all the promaps just now i've got got an area of text which should show up what the session value is, but nothings showing when it loads the page.

the code for the loading page is:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/PitairlieGarage.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Pitairlie Garage - TEMPLATE</title>
<!-- InstanceEndEditable -->
<style type="text/css" media="all">
<!--
@import url("css/pitairliescreen.css");
-->
</style>
<style type="text/css" media="print">
<!--
@import url("css/pitairlieprint.css");
-->
</style>
<!--[if IE 5]>
<style type="text/css">
/* IE 5 does not use the standard box model, so the column widths are overidden to render the page correctly. */
#outerWrapper #contentWrapper #leftColumn1 {
width: 220px;
}
</style>
<![endif]-->
<!--[if IE]>
<style type="text/css">
/* The proprietary zoom property gives IE the hasLayout property which addresses several bugs. */
#outerWrapper #contentWrapper #content {
zoom: 1;
}
</style>
<![endif]-->
<!-- InstanceBeginEditable name="head" -->
<script type="text/javascript" src="CSSMenuWriter/cssmw/menu.js"></script>
<style type="text/css" media="all">
<!--
@import url("CSSMenuWriter/cssmw/menu.css");
-->
</style>
<!--[if lte IE 6]>
<style type="text/css" media="all">
@import url("../CSSMenuWriter/cssmw/menu_ie.css");
</style>
<![endif]-->
<!-- InstanceEndEditable -->
</head>

<body>

<div id="outerWrapper">
<div id="header"><a href="contact.asp"><img src="images/headerimage.jpg" width="780" height="250" alt="headerimage" /></a></div>
<div id="topNavigation">
<!--#include file="CSSMenuWriter/cssmw/menu.asp" --></div>
<!-- InstanceBeginEditable name="editable area" -->
<div id="contentWrapper">
<div id="leftColumn1">
<h2>OPENING HOURS</h2>
<p>Monday to Friday:<br />
07:30 - 17:30</p>
<p>Saturday:<br />
07:30 - 16:00 (Sales)<br />
07:30 - 13:00 (Workshop) </p>
<p>Sunday (Sales & fuel only):<br />
12:00 - 16:00</p>
<p>&nbsp;</p>
<p align="center"><a href="http://www.smta.co.uk"><img src="images/smta.gif" alt="smta" width="92" height="55" id="smta" /></a></p>
<p align="center"><a href="http://www.blackhorse.co.uk/motor/motor_index.aspx"><img src="images/black_horse.jpg" alt="Blackhorse finance" width="176" height="80" id="blackhorse" /></a></p>
<p align="center"><a href="http://www.uccc.co.uk"><img src="images/ucccsign.gif" alt="UCCC" width="76" height="100" id="uccc" /></a></p>
</div>
<div id="content">
<h1>WELCOME TO PITAIRLIE GARAGE</h1>
<p><%= Session("promapspostcode") %></p>
</div>
<br class="clearFloat" />
</div>
<!-- InstanceEndEditable -->
<div id="footerlogos">
<div align="center"><a href="http://validator.w3.org/check?uri=referer"><img
src="http://www.w3.org/Icons/valid-xhtml10-blue"
alt="Valid XHTML 1.0 Strict" height="31" width="88" /></a>
<a href="Templates/www.caswebsolutions.net"><img src="images/casweb.jpg" width="150" height="38" alt="caswebsolutions" /></a></div>
</div>
<div id="footer">&copy; Pitairlie Garage 2009</div>
</div>
</div>

</body>
<!-- InstanceEnd --></html>

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...