PS
Unless you are going to just display the psize as text on the next page you probably want to pass it as a number (integer)
somefile.asp?psize=450
and either:
If you don't need a session variable (only a page variable) use
<% psize = CInt(Request.QueryString("psize")) %>
called on that page by
<%=psize %>
Of if you really need a Session variable (for more than 1 ASP page)
<% Session("psize") = CInt(Request.QueryString("psize")) %>
called on other pages by
<%=Session("psize")%>
--
| 1. Make all page with a .asp extensions if you plan to use sessions.
|
| 2. somefile.asp?psize=450px
|
| Then on next page:
|
| 3. Session("psize") = Request.QueryString("psize")
|
| --
| ==============================================
| Thomas A. Rowe (Microsoft MVP - FrontPage)
| ==============================================
| If you feel your current issue is a results of installing
| a Service Pack or security update, please contact
| Microsoft Product Support Services:
|
http://support.microsoft.com
| If the problem can be shown to have been caused by a
| security update, then there is usually no charge for the call.
| ==============================================
|
| > HI! How do we pass a value in a link to a session variable?
| >
| > Is it like this for a string?
| >
| > somefile.htm?="450px"
| >
| > I am going to be using vbscript.
| >
| >
| > --
| > Thanks in advance
![Smile :) :)](/styles/default/custom/smilies/smile.gif)
| >
| > Paul
| >
|
|