Jump to content

ajax and sessions


garry27

Recommended Posts

do session variables get passed onto an external javascript script by default when it is called?

thereafter, if you use the javascript script to make an ajax call to a php 'data hander' file will the data script have access to session variables?

i have a way i can do it by passing parameters of the session variables via the url and converting the data in and out of js until it reaches the php data file i want but this would be bad practice right?  :-\
Link to comment
https://forums.phpfreaks.com/topic/30419-ajax-and-sessions/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.