Forum Moderators: coopster

Message Too Old, No Replies

Javascript SID support

         

orion_rus

10:18 pm on Dec 12, 2004 (gmt 0)

10+ Year Member



Hello world. I'm making dynamically menu's. If user disables coockie i need to add <SID> variable. How i can add it to an external JS file?

RonPK

10:34 pm on Dec 12, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Why would you want to do that? Usually the session ID is only relevant to server side scripts.

Adrian2k4

11:38 pm on Dec 12, 2004 (gmt 0)

10+ Year Member



i think he want's to pass on the PHP-SID in the links created by the JS.

orion_rus

7:12 am on Dec 13, 2004 (gmt 0)

10+ Year Member



Yes i want do so. If a link was created with JScript i like to add <SID> to it. How i can do it?

Adrian2k4

7:51 am on Dec 13, 2004 (gmt 0)

10+ Year Member



i would generate the javascipt with a php-script to include the SID in the links.