How do you pass Variables???????????????????????/

Results 1 to 4 of 4

Thread: How do you pass Variables???????????????????????/

  1. #1
    Join Date
    Dec 1969
    Posts
    1,013

    Default How do you pass Variables???????????????????????/

    I am trying to pass a variable from "www.mysite.com" to "www.mysite.com/subweb" when I get to the subweb, my session("variable") is gone, then when I return to the main web, the session("variable") is back. I&#039m a fairly new asp person. Any Ideas?

  2. #2
    Matthew Hazlett Guest

    Default RE: How do you pass Variables???????????????????????/

    Sessions are site specific.<BR>You can try passing the vars in a POST or GET<BR>ex: http://www.mysite.com?MyVar=test<BR><BR>Then in the destination page do:<BR>request("MyVar")<BR><BR>And try not using quite so many question marks. They are very annoying.<BR><BR>

  3. #3
    Join Date
    Dec 1969
    Posts
    1,013

    Default RE: How do you pass Variables???????????????????????/

    Thanks for the reply! Next time one question mark.

  4. #4
    Join Date
    Dec 1969
    Posts
    2,849

    Default RE: How do you pass Variables?

    You might also want to check out this article:<BR><BR>Four Ways to Pass Data from one ASP Page to Another<BR>http://www.4guysfromrolla.com/webtech/041399-1.shtml


Posting Permissions

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