how to pass session id in javascript?
how to pass session id in javascript...
i've tried this, but it's not correct..
<?php
location.href = \"http://www.abc.com/cart.php?uid=\"+ echo $uid \"&sid=\"+ echo $SID ;
?>
how to pass?? pls advice!!
how to pass session id in javascript...
i've tried this, but it's not correct..
<?php
location.href = \"http://www.abc.com/cart.php?uid=\"+ echo $uid \"&sid=\"+ echo $SID ;
?>
how to pass?? pls advice!!
Abhishek Reddy posted this at 04:02 — 7th November 2002.
He has: 3,348 posts
Joined: Jul 2001
Try:
<?php
location.href = \"http://www.abc.com/cart.php?uid==$uid &sid==$SID \";
?>
joyce posted this at 04:34 — 7th November 2002.
They have: 164 posts
Joined: Nov 2001
thanks..
it's working.... but have to take out the sid..
<?php
location.href = \"http://localhost/kbj/shop_cart/user_cart.php?uid==$uid &=$SID \";
?>
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.