1
castronew
XOOPS without COOKIES....
  • 2006/12/7 8:20

  • castronew

  • Just popping in

  • Posts: 2

  • Since: 2006/11/6


Hello to Everything!
(I'm sorry for my bad English)

I'm a new user in XOOPS Community, but I have been using XOOPS CMS Platform since 6/7 months.

I have a big (real) problem!....here, in Italy!

I serve a Customer for a website.

General considerations:
- The Customer have a MS Server 2003 with: IIS6, Apache Tomcat 5.5, MSSql Server.
- In the IIS6 Web Server there is the current Customer's WebSite and is connect by MSSql Server.
- In the same machine, there is an Application that is used by Intranet, with JSP Servlets;

My Problem:
- I have installed the PHP 5.4.1 module for IIS6;...is OK and Tested;
- I have installed the XOOPS CMS Platform;...but...
...The Customer have changed the PHP.INI file, setting the "session.use_cookies" at 0 (ZERO)!

The problem is:
The Customer Intranet Application, that use Apache Tomcat, is not compatible with "session.use_cookies=1"!...

I'm not able to change Customer Server Settings...

My Question is:
Does exists a solution for XOOPS CMS without COOKIES?

Thanks for your "precious" help!

Antonio (ITALY)

2
kaotik
Re: XOOPS without COOKIES....
  • 2006/12/7 9:49

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


There might be another easier solution for you:
create an htaccess file in the XOOPS folder with the following:
php_value session.use_cookies 1

3
castronew
Re: XOOPS without COOKIES....
  • 2006/12/7 13:01

  • castronew

  • Just popping in

  • Posts: 2

  • Since: 2006/11/6



How can I do it?

4
Dave_L
Re: XOOPS without COOKIES....
  • 2006/12/7 18:57

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


kaotik means that you would create a file named ".htaccess" in the top level XOOPS directory. The contents of that file would be
php_value session.use_cookies 1


But that will only work when running PHP as an Apache module, with AllowOverride enabled for that directory.

Since you're running PHP using the IIS ISAPI module, that won't work.

That particular parameter is one that can be set within a PHP script. So you could try putting this inside mainfile.php:

ini_set('session.use_cookies''1');


But I'm not sure if that will work for session.use_cookies, or if the parameter has to be set prior to the execution of the script.

Reference: http://us2.php.net/manual/en/configuration.changes.php

Login

Who's Online

414 user(s) are online (113 user(s) are browsing Support Forums)


Members: 0


Guests: 414


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits