![]() |
|
![]() | ||
|
Subject:
form based session object (asp)
Category: Computers > Software Asked by: binarian-ga List Price: $10.00 |
Posted:
07 Jul 2003 20:00 PDT
Expires: 06 Aug 2003 20:00 PDT Question ID: 226296 |
i am totally new to asp sessions. this is what i am trying to do. i have videos.asp, a page of dynamic links that will pass an id via url paramter to asx.asp which i have used response.write to create a dynamic asx file which will recieve a filepath similar to this from videos.asp which gets its entries from an admin upload page. it actually writes the entire asx file and opens the recordset from the database but the important part for the purpose of this question is.. <Ref href="(dependent on session)://mydomain.com/videos/<%=(rsMovies.Fields.Item("MoviePath").Value)%>" /> where i have (dependent on session) is where it should say typically in an asx file say - "mms" ...however i need to set up something using a session so that before entering videos.asp the user has to pass thru a setsession.asp page...this is where a session must be created and the user should see a radio button group where they can: select one of 2 radio buttons whcih will says CABLE or FIREWALL, which will pass information via a session from videos.asp and then to asx.asp changing the (dependent on session) area to to either "mms" or "mmst" which are the 2 protocolvs used in streaming windows media server depending on whether or not u are behind a firewall. whoever answers this need not know anything about asx files or streaming windows media but just how to do something like this via asp session object. so i know how to do this but i need the actual asp code. this will be a snap for a sessions expert. |
![]() | ||
|
There is no answer at this time. |
![]() | ||
|
Subject:
Re: form based session object (asp)
From: insomniak29-ga on 08 Jul 2003 10:09 PDT |
I may just not understand what your needing to know... but you can create and set session variables on the fly, like so: Session("variablename") = "whatever you want" You could also set a Session variable equal to the contents of a radio button on a form from another page like this: Session("variablename") = Request("rdoButtonName") Maybe this will help? |
Subject:
Re: form based session object (asp)
From: binarian-ga on 08 Jul 2003 11:23 PDT |
well so basically 3 pages. one page sets a session based on radio buttons and or checkbox. the next page has a dynamic link to a third page which generates a dynamic asx file. one of the lines in this file is <Ref href="(session variable)://mydomain.com/videos/<%=(rsMovies.Fields.Item("MoviePath").Value)%>" /> i want to replace (session variable) with code that sets it to mms or mmst based on radio buttonyeah selected on the first page. what would i actually need to put into the path to get it to input the session and how do i get teh check box to create this session on submit? appreciate the help..i just need a little more if possible. |
Subject:
Re: form based session object (asp)
From: binarian-ga on 19 Jul 2003 06:26 PDT |
well i figured this out on my own so dont worry about it. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |