Javascripts loses my Session variables

Results 1 to 2 of 2

Thread: Javascripts loses my Session variables

  1. #1
    Reggie Guest

    Default Javascripts loses my Session variables

    I have a frameset with a left navigation frame and a large content frame. In the navigation frame there is a form with a dropdown box that has 3 city names. That form on that page submits to itself (i.e. action="navframe.asp") and sets a Session Variable. However I want to automatically reload the main content frame to recognize the changes made from selecting a different city. I can get it to do both of these thing separately, but when I do them both at the same time I "lose" my Session Variable (it becomes equal to ""). Is that by design or shouldn&#039;t I be able to keep Session Variables across frames?<BR><BR>&#060;%<BR>Session("location")=requ est.form("location")<BR>response.write Session("location")<BR>%&#062;<BR>&#060;SCRIPT LANGUAGE="JavaScript"&#062;<BR>function reload_rightframe(){<BR>parent.frames[&#039;rightframe&#039;].location.href="info.asp";<BR>}<BR>&#060;/SCRIPT&#062;

  2. #2
    Reggie Guest

    Default Nevermind. Found an MSDN about it.

Posting Permissions

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