User Profile

Collapse

Profile Sidebar

Collapse
aelred
aelred
Last Activity: Jan 28 '09, 02:10 AM
Joined: Jan 22 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Hi acoder,

    Thank you for your suggestion. I tried the second suggestion and this seemed to work very well. The only other thing I had to do was to keep sending the child reference to the parent (since everytime I navigate to another page on parent browser, the reference is lost again). I placed the window reference assignment as per the following:

    Code:
    function saveHandle()
    {
        if (!window.opener.win)
    ...
    See more | Go to post

    Leave a comment:


  • Hi acoder,

    All new chat windows are always opened from the first main parent web page. You are not able to open a chat window from another.

    The problem is that I have to save this [object Window] reference to the session and keep the array of open windows in the session and when the user logs off make this available to the javascript.

    I will give this a try assuming that the [object Window] when passed...
    See more | Go to post

    Leave a comment:


  • Passing a Javascript window reference to the session

    I have a web page where a member can open up a chat window (child window) with another member.
    - From there the member can also navigate to other web pages.
    - From other pages in the site, they may also open up new chat windows with other members (just not the same one).
    - Each chat page is opened with the member name as the window name.
    - When I log off from the web page, I would like all the chat windows to automatically...
    See more | Go to post
No activity results to display
Show More
Working...