Print Page | Close Window

Functions

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=4332
Printed Date: 30 March 2026 at 11:02am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Functions
Posted By: dazy4dru
Subject: Functions
Date Posted: 18 July 2003 at 12:23pm

I have created a multiple page form and have chosen to use session variables.  My problem is this:

I have created three functions and saved them as sessions; however, I must then average these three functions on a completely separate page.  It is possible to save a function as a session and then compare it later on another page, or am I missing the boat completely.

First page with Functions looks like this:

function1()
newname1 = function1()
Session("newname1") = newname1

Then the page I pass to looks like this:
<%
Dim var1, var2, var3
Session("newname1") = var1
Session("newname2") = var2
Session("newname3") = var3

Then I have calculated the max function output with the new nonsession variables.

%>

Thanks in advance for any help! :)

Amy } ! {




Replies:
Posted By: KCWebMonkey
Date Posted: 18 July 2003 at 12:48pm
why are you using functions? aren't you just trying to pass a variable from one page to another?



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net