I have a strange problem. I have a site in which I need to be able to propogate my session ID by some other means only if the user does not have cookies enabled. I can test for cookies and what not, however, I have some limitations which have me stumped...
- I don't have access to all the links to manually put in the PHPSESSID=SID in each one.
- If I change the session.use_trans_sid then it will ALWAYS use the GET method to propagate... right?
Is there some way I can store the session ID in a database and then pull it back up and reinstate the session using that?
Micah
Eeek. Help with propagating a SESSION ID
Moderator: General Moderators
-
MicahCarrick
- Forum Newbie
- Posts: 23
- Joined: Sat Apr 09, 2005 5:40 pm
Re: Eeek. Help with propagating a SESSION ID
Yes, you have: http://www.php.net/output_add_rewrite_varMicahCarrick wrote: - I don't have access to all the links to manually put in the PHPSESSID=SID in each one.
Wrong.MicahCarrick wrote: - If I change the session.use_trans_sid then it will ALWAYS use the GET method to propagate... right?
url_rewriter.tags specifies which HTML tags are rewritten to include session id if transparent sid support is enabled. Defaults to a=href,area=href,frame=src,input=src,form=fakeentry,fieldset=
http://www.php.net/session_set_save_handlerMicahCarrick wrote: Is there some way I can store the session ID in a database and then pull it back up and reinstate the session using that?
- Ambush Commander
- DevNet Master
- Posts: 3698
- Joined: Mon Oct 25, 2004 9:29 pm
- Location: New Jersey, US