Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2004
    Posts
    12

    Arrow Unanswered: 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...

  2. #2
    Join Date
    Nov 2003
    Location
    Christchurch, New Zealand
    Posts
    1,618
    What do you mean by a module. Do you mean a com component? How are you planning on using this module??

  3. #3
    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....

  4. #4
    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

  5. #5
    Join Date
    Nov 2003
    Location
    Christchurch, New Zealand
    Posts
    1,618
    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....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •