Re: java script & session?
| From: | Jeff Bluemel | Date: | Wed, 25 Sep 2002 05:04:11 +0000 |
| Subject: | Re: java script & session? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-117516@lists.php.net to get a copy of this message | ||
ok - I am calling these java script files, but I am calling them from a
.phtml file. when the following like from the java script file is called,
addMainItem("home.phtml","Home",120,"center",""); it does
not pass the
session ID number to the home.phtml
"John Holmes" <holmes072000@charter.net> wrote in message
news:001601c2644f$f4e49410$b402a8c0@mango...
> You aren't opening any PHP files, you are opening javascript files. Do
> you want the session info passed to the .js files? Is .js parsed as PHP
> on your server? Do you lose the session in your .phtml page after you
> call the given javascript? What is your question?
>
> ---John Holmes...
>
> > -----Original Message-----
> > From: Jeff Bluemel [mailto:jeff@domintcom.com]
> > Sent: Wednesday, September 25, 2002 12:50 AM
> > To: php-general@lists.php.net
> > Subject: Re: [PHP] java script & session?
> >
> > what do you think the SESSIONS are??? possibly php session info ? ;)
> >
> >
> > "John Holmes" <holmes072000@charter.net> wrote in message
> > news:001401c2644d$8fb8d670$b402a8c0@mango...
> > > And there is any reference to PHP in your question where????????
> > >
> > > > -----Original Message-----
> > > > From: Jeff Bluemel [mailto:jeff@domintcom.com]
> > > > Sent: Wednesday, September 25, 2002 12:34 AM
> > > > To: php-general@lists.php.net
> > > > Subject: [PHP] java script & session?
> > > >
> > > > I want drop down menu's in my setup that I am creating. however,
> > > when
> > > > the
> > > > java script opens the links then the session information is not
> > > passed.
> > > > here's how the stuff is used in my .phtml files.
> > > >
> > > >
> > > > <script language="JavaScript"
> > > > src="resources/sniffer.js"></script>
> > > > <script language="JavaScript1.2"
> > > > src="resources/custom_original.js"></script>
> > > >
> > > > addMainItem("home.phtml","Home",120,"center","");
> > > > <script language="JavaScript1.2"
> src="resources/style.js"></script>
> > > > <script language="JavaScript"
> > > > src="resources/menu.js"></script>
> > > >
> > > > --
> > > >
> > > > Thanks,
> > > >
> > > > Jeff Bluemel
> > > >
> > > >
> > > >
> > > > --
> > > > PHP General Mailing List (http://www.php.net/)
> > > > To unsubscribe, visit:
> > > > http://www.php.net/unsub.php
> > >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>