Session start function ---to be used in javascript

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
vidhya
Forum Newbie
Posts: 4
Joined: Wed Feb 08, 2006 11:27 pm

Session start function ---to be used in javascript

Post by vidhya »

how to start a new session in java script function which is called on onclick of a link..Is it possible to use that php function inside the javascript function
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Post by josh »

You cannot use a php function inside of javascript, you can however use javascript to request a page off the server that runs some php code
Post Reply