View Full Version : Sharing Sessions b/w 2 different apps?
01-31-2012, 05:22 PM
Is there anyway we can share a login session between two apps one of which is developed in php and the other one in Ruby or Perl or Python?
01-31-2012, 05:33 PM
Not with builtin you can't. Unless you can configure one language to use the same information location and same serialization technique.
Use a database driven session handling instead. More work, but completely under your control.
01-31-2012, 05:39 PM
Alternatively create a php script that can interact with the session and output/accept the data. You'll need to specify the session id in the request headers though.
That way your other app/language can make a http call to interact with it. Bit sloppy if its on the same machine though but useful if its remote.
01-31-2012, 06:01 PM
Thanks so much for your help.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.