Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 01-06-2010, 06:54 AM
eaglelegend eaglelegend is offline
Member
 
Join Date: Mar 2009
Posts: 45
Credits: 4,356
eaglelegend
Default SessionID

Hi,

Does the script use sessions at all? a script I am trying to intergrate requires sessions, any idea how I can create the session ID for the user if there isnt one already available?

Thanks,

Mark
Reply With Quote
  #2  
Old 01-06-2010, 08:39 AM
Arianna's Avatar
Arianna Arianna is offline
Dev Staff
 
Join Date: Sep 2009
Posts: 334
Gender: Female
Credits: 21,345
Arianna will become famous soon enough
Default RE: SessionID

You could set a session on the login page, maybe?
Something like this might go,
Code:
$_SESSION['auth'] = $loggedinname;
I'm not sure how to get the actual session ID, though. :P Sorry that I couldn't help there.
Reply With Quote
  #3  
Old 01-06-2010, 08:55 AM
eaglelegend eaglelegend is offline
Member
 
Join Date: Mar 2009
Posts: 45
Credits: 4,356
eaglelegend
Default RE: SessionID

OK Ariana I want to be honest with you guys, I am trying to intergrate MochaMedia Bridge to the script, but I am now struggling, I dont completely understand the manual they provide, any help?

https://www.mochimedia.com/support/pub_docs#boards

it may be useful to you guys also if you want to earn a bit while your fans play games on your site!
Reply With Quote
  #4  
Old 01-06-2010, 09:29 AM
Arianna's Avatar
Arianna Arianna is offline
Dev Staff
 
Join Date: Sep 2009
Posts: 334
Gender: Female
Credits: 21,345
Arianna will become famous soon enough
Default RE: SessionID

This sounds interesting. :) lol, I won't use it, but I don't see where you need the session from. xD I'm being dense here, but doesn't it say that the session id is optional? xD In the same code, it states:
Code:
// optional
options.sessionID = "sf908uw098urerjw3948";
Also, this is javascript. I don't know how, but you're going to need to transfer the javascript into whatever document you have via PHP, I'll assume, right?
Reply With Quote
  #5  
Old 01-06-2010, 10:34 AM
eaglelegend eaglelegend is offline
Member
 
Join Date: Mar 2009
Posts: 45
Credits: 4,356
eaglelegend
Default RE: SessionID

I was wondering weather Brandon's code had it or not, if not I was thinking of putting it in anyway, but I have decided against it. and I am no Javascript expert sadly:s
Reply With Quote
  #6  
Old 01-06-2010, 03:58 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 10,769
BMR777 is on a distinguished road
Default RE: SessionID

No, the script doesn't use sessions. Everything is cookie based. What is needed for the integration, ex are you trying to integrate user accounts or something else?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 04:35 AM.

Currently Active Users: 8955 (0 members and 8955 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636