If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Modules in ASP using Visual Interdev

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-16-04, 04:50
Mini Nair Mini Nair is offline
Registered User
 
Join Date: Feb 2004
Posts: 12
Arrow Modules in ASP using Visual Interdev

hi all,

I want to know how to create a module in Visual Interdev for ASP page?

Anyone who knows about this please help me out its urgent...
Reply With Quote
  #2 (permalink)  
Old 03-16-04, 16:13
rokslide rokslide is offline
Registered User
 
Join Date: Nov 2003
Location: Christchurch, New Zealand
Posts: 1,617
What do you mean by a module. Do you mean a com component? How are you planning on using this module??
Reply With Quote
  #3 (permalink)  
Old 03-16-04, 23:37
Mini Nair Mini Nair is offline
Registered User
 
Join Date: Feb 2004
Posts: 12
Modules in ASP continued...........

Just as we create a module in VB for establishing and breaking connections, which keeps us from doing the same things over and over again. we just need to call that module.

what actually my problem is that...i have a set of variables in a form...which are evaluated using ASP as the back end...but once i move on to the third ASP page coming in succession, i m not able to access those variable values which i had declared on first page....
is there any solution to this ?????

please help me out...i m stuck...bcoz rest of the coding depends on this..itself....
Reply With Quote
  #4 (permalink)  
Old 03-16-04, 23:59
j_sakthivel j_sakthivel is offline
Registered User
 
Join Date: Mar 2004
Location: chennai
Posts: 25
Hi

u store all the variables as session variables in the first page itself.
then u can take down those first page variables in any page of the application.

for example......
create sesion variable in first.asp......

<% Session("fname")=request.form("firstname") %>

getting the same variable in third page......like the below one...

<% response.write(Session("fname")) %>

is it u exactly wanted???
__________________
Sakthi
Reply With Quote
  #5 (permalink)  
Old 03-17-04, 15:57
rokslide rokslide is offline
Registered User
 
Join Date: Nov 2003
Location: Christchurch, New Zealand
Posts: 1,617
Okie, for your problem the sessions variables are the answer to your problem. You couldn't or rather shouldn't do what you want to using a module....

As for you specific question.... you can do this a few different ways but you are not using modules....

You can use include files with functions that you can call, you can use class files with methods and properties you can reference, you can write a COM object that you can use....

But effectively there is no such thing as a module....
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On