Forums | Mahara Community
Passing a working session ID to script
01 December 2009, 6:16 PM
In the receiving script, I tried defining JSON and passing the session id in the url (sesskey=whatever), but it didn't work. The response was the nosessionreload string.
Any thoughts on how I can get this to work?
01 December 2009, 7:02 PM
Actually, I was passing the sesskey, not the session id.
I think I've found a way to get it to work, though, by encrypting the cookie data, passing it as a string, and then de-encrypting it in the script. That seems to work. I don't think there are any real security issues doing it that way, since the data is encrypted as a single string and I doubt anyone will know what that string does anyway.