LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > Ruby/Rails > LSAPI Session Problem...

Reply
 
Thread Tools Display Modes
  #11  
Old 09-19-2006, 09:31 PM
hugemikeyd hugemikeyd is offline
Member
 
Join Date: Mar 2006
Location: New York
Posts: 42
//redefine ENV using a hash table, should be faster than char **environment

Maybe this is not a wise idea as all other application servers use the standard char setup.

I am curious to see what the "standard" handling procedure for the ENV variable is from the Rails team or even Mongrel's developer. I'll see what i can find.
Reply With Quote
  #12  
Old 09-19-2006, 09:59 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
You can take a look at ruby source code hash.c, env and hash has the exactly the same interface. Those two are interchangeable and ruby code cannot tell the difference. Some ruby module just substitutes the environment array with a hash.
Reply With Quote
Reply

Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setup for Rails via Litespeed Ruby LSAPI Justin Ruby/Rails 2 12-08-2007 07:19 PM
Ruby LSAPI 2.4 and PHP LSAPI 3.1 released mistwang News 0 04-24-2007 03:35 PM
LSAPI Ruby v1.12, PHP v2.4 Released mistwang News 0 01-10-2007 01:18 PM
LSWS Ruby LSAPI zoom Install/Configuration 2 05-14-2006 04:50 PM
Problem with LSAPI 1.8/PHP in 2.1.11? jburks725 Install/Configuration 3 02-16-2006 06:48 PM


All times are GMT -7. The time now is 01:43 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.