Get Session Value From a Modal Form

Get Session Value From a Modal Form

StoneXStoneX Posts: 2Questions: 0Answers: 0
edited December 2012 in DataTables 1.8
Hello at all!

First I want to thank you for the great work!

In my datatable I want to decide to reload the page in relation to a PHP-Session, generatet on a modal Form.

[code]
"fnDrawCallback": function(oSettings, json) {
$("a[rel^='prettyPhoto']").prettyPhoto({
modal: true,
show_title: false,
autoplay: false,
callback: function() {
?>
}
});
},
[/code]

In the callback function I want to check the SessionValue to decide, if the form have to reload (f.e. when the databaseentries are updated) or not.

I don´t know how i can get access to the Session Value.

Thanks for reading and ideas!

Frank

Replies

  • StoneXStoneX Posts: 2Questions: 0Answers: 0
    Ok, solved the "problem" by using ajax-request to get the SESSION-Value.

    Frank
This discussion has been closed.