This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

trouble with session variables

Would be _extremely_ appreciative if someone could offer advice on this...

I am trying to create a very simple system to display different navigation menus based on preferred langauge. (I know there are a few modules for multilingual sites, but all are far more complex than what I need, and most seem fairly buggy. Also, I'm trying to improve my understanding of Drupal's inner workings with this project.)

The first part of the project requires setting an $interface_language variable. Most site visitors will not ever log in, so I thought I should set the variable based on URL (e.g. the variable will be set to "english" when a visitor goes to www.site.com/home/en) and use a session variable to store the value.

My first approach was to use sess_write and sess_read (code below). This code seemed to work at first. But it creates havoc for drupal's user authentication system.

cck and forms

ok i tried to post a msg earlier but i got logged an the msg probably hit the abyss :(...so here is another try..

I have standard form {personal details} and depending on the page it is called from i append the base form with other fields such as {travel details| reading and tv requirements| custom request}

what i want to do is create standard/base cck node which contains {personal detials} and 3 different cck nodes for {travel details| reading and tv requirements| custom request} which contain the additional info required for each form.

image.module deleting files through ftp

Cannot delete files from files/images folder through ftp client. The server is telling me i dont have the required permissions even though i logged in as root.

And i dont want to do it from the drupal interface.

is there anyway to do that?

thanks guys

Module similiar to Mambot?

I need any to know if there is any module that works like Mambot in Mambo term. What do I need is add a text (from a field) before page on certain node displayed. I know that we can use hook_init() but I need more doc for this function, or better any sample module that works like that.

Thank You.

filemanager and taxonomy_theme

Does anyone have both the filemanager and taxonomy_theme enabled and functioning together?

taxonomy_theme seems to be just completely removed from the module list when i have filemanager enabled.

if i get rid of filemanager, taxonomy_theme comes back just fine. i really need to use taxonomy_theme along with acidfree (which required filemanager).

any ideas?

clearing session variable values on browser close

What's the method for clearing session variable values when the browser is closed?

I set session.cache_expire to 0 in settings.php, but it didn't make a difference.

Note: I'm asking about clearing session variables, not cookies.

Thanks in advance.

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions