Re: Curious error with Session Variables

2007-05-10 Thread Diego pylorca
Thanks Graham :)

it works!!

On 5/9/07, Graham Dumpleton <[EMAIL PROTECTED]> wrote:
>
>
> Try reenabling PHP, but delve into the PHP setup and disable the
> loading of the PHP mhash module first.
>
> There have been cases where the PHP mhash module has clashed in some
> way with the Python md5 hash modules and caused the Python module to
> give back incorrect results. This may have an effect on session
> cookies if a md5 hash is used in some way to generate it.
>
> Graham
>
> On May 9, 11:16 pm, "Diego pylorca" <[EMAIL PROTECTED]> wrote:
> > Nop,
> >
> > when I disable mod-php5, the admin works correctly :(
> >
> > my web browsers are firefox and opera and IE, but it is not a client
> host
> > problem :'(
> >
> > On 5/8/07, John DeRosa <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> >
> > > Perhaps check your firewall, anti-hijack, anti-trojan, etc. software.
> > > You may have a cookie guard enabled.
> >
> > > For example, Webroot's Spy Sweeper has a set of "shields" for web
> > > browsers, and they include the blocking of certain tracking cookies
> and
> > > some IE security 'protection'.  Perhaps your system is running a
> similar
> > > product?
> >
> > > John
> >
> > > Diego pylorca wrote:
> > > > m
> >
> > > > I deployed my site, and in the admin when i try to login i get this
> > > message:
> >
> > > > "Looks like your browser isn't configured to accept cookies. Please
> > > > enable cookies, reload this page, and try again."
> >
> > > > the cookies is enabled.
> >
> > > > my server is a debian etch stable (intalled modpython apache2 and
> mysql
> > > > from apt)
> >
> > > > i ve run django/bin/daily_cleanup.py and flush the session table...
> >
> > > > PD: sory by me bad english
> >
> > > > On 4/4/07, *chasfs* <[EMAIL PROTECTED] >
> wrote:
> >
> > > > There are several things going on here. If you have multiple
> django
> > > > sites
> > > > all setting sessions cookies, make sure that the
> SESSION_COOKIE_NAME
> > > > and SESSION_COOKIE_DOMAIN are unique in the respective
> settings.py
> > > > files.
> >
> > > > You also need to clean out old session rows in the
> django_session
> > > > database.
> > > > You can use django/bin/daily_cleanup.py to do this.
> >
> > > > Good luck,
> > > > -chasfs
> >
> > > > On Apr 3, 1:36 pm, "Ramdas S" < [EMAIL PROTECTED]
> > > > > wrote:
> > > >  > Since last few days I am getting this error on Django web
> sites
> > > > hosted.
> > > >  > Obviously it is clashing with something.
> >
> > > >  > When I work on admin interface to add or delete content, I
> get
> > > > logged off
> > > >  > and it takes some time for me to login again.
> >
> > > >  > I get the following messages
> >
> > > >  > Please enter a correct username and password. Note that both
> > > > fields are
> > > >  > case-sensitive.
> >
> > > >  > If I keep on trying then the message changes to
> >
> > > >  > Looks like your browser isn't configured to accept cookies.
> > > > Please enable
> > > >  > cookies, reload this page, and try again.
> >
> > > >  > Later if I persist
> >
> > > >  > I get this error
> >
> > > >  > -
> >
> > > >  > SuspiciousOperation at /admin/ User may have tampered with
> > > session
> > > >  > cookie. Request
> > > >  > Method: POST  Request URL:http://developeriq.com/admin/
> > > > Exception Type:
> > > >  > SuspiciousOperation  Exception Value: User may have tampered
> with
> > > > session
> > > >  > cookie.  Exception Location:
> >
> > >
> /usr/lib/python2.4/site-packages/django/contrib/admin/views/decorators.py
> >
> > > >  > in _decode_post_data, line 40
> >
> > > >  > I am using the latest development version Mod_Python, Apache
> and
> > > > Ubuntu
> > > >  > Linux
> >
> > > >  > What can be the reason
> >
> > > >  > Thanks
> >
> > > >  > Ramdas S
> >
> > > >  > The Server is a dedicated server, and it also runs PHP, MySQl
> and
> > > > some PHP
> > > >  > and Python software.
> >
> > > > --
> > > > Diego F. Toritto.
> >
> > --
> > Diego F. Toritto.
>
>
> >
>


-- 
Diego F. Toritto.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Curious error with Session Variables

2007-05-09 Thread Graham Dumpleton

Try reenabling PHP, but delve into the PHP setup and disable the
loading of the PHP mhash module first.

There have been cases where the PHP mhash module has clashed in some
way with the Python md5 hash modules and caused the Python module to
give back incorrect results. This may have an effect on session
cookies if a md5 hash is used in some way to generate it.

Graham

On May 9, 11:16 pm, "Diego pylorca" <[EMAIL PROTECTED]> wrote:
> Nop,
>
> when I disable mod-php5, the admin works correctly :(
>
> my web browsers are firefox and opera and IE, but it is not a client host
> problem :'(
>
> On 5/8/07, John DeRosa <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Perhaps check your firewall, anti-hijack, anti-trojan, etc. software.
> > You may have a cookie guard enabled.
>
> > For example, Webroot's Spy Sweeper has a set of "shields" for web
> > browsers, and they include the blocking of certain tracking cookies and
> > some IE security 'protection'.  Perhaps your system is running a similar
> > product?
>
> > John
>
> > Diego pylorca wrote:
> > > m
>
> > > I deployed my site, and in the admin when i try to login i get this
> > message:
>
> > > "Looks like your browser isn't configured to accept cookies. Please
> > > enable cookies, reload this page, and try again."
>
> > > the cookies is enabled.
>
> > > my server is a debian etch stable (intalled modpython apache2 and mysql
> > > from apt)
>
> > > i ve run django/bin/daily_cleanup.py and flush the session table...
>
> > > PD: sory by me bad english
>
> > > On 4/4/07, *chasfs* <[EMAIL PROTECTED] > wrote:
>
> > > There are several things going on here. If you have multiple django
> > > sites
> > > all setting sessions cookies, make sure that the SESSION_COOKIE_NAME
> > > and SESSION_COOKIE_DOMAIN are unique in the respective settings.py
> > > files.
>
> > > You also need to clean out old session rows in the django_session
> > > database.
> > > You can use django/bin/daily_cleanup.py to do this.
>
> > > Good luck,
> > > -chasfs
>
> > > On Apr 3, 1:36 pm, "Ramdas S" < [EMAIL PROTECTED]
> > > > wrote:
> > >  > Since last few days I am getting this error on Django web sites
> > > hosted.
> > >  > Obviously it is clashing with something.
>
> > >  > When I work on admin interface to add or delete content, I get
> > > logged off
> > >  > and it takes some time for me to login again.
>
> > >  > I get the following messages
>
> > >  > Please enter a correct username and password. Note that both
> > > fields are
> > >  > case-sensitive.
>
> > >  > If I keep on trying then the message changes to
>
> > >  > Looks like your browser isn't configured to accept cookies.
> > > Please enable
> > >  > cookies, reload this page, and try again.
>
> > >  > Later if I persist
>
> > >  > I get this error
>
> > >  > -
>
> > >  > SuspiciousOperation at /admin/ User may have tampered with
> > session
> > >  > cookie. Request
> > >  > Method: POST  Request URL:http://developeriq.com/admin/
> > > Exception Type:
> > >  > SuspiciousOperation  Exception Value: User may have tampered with
> > > session
> > >  > cookie.  Exception Location:
>
> > /usr/lib/python2.4/site-packages/django/contrib/admin/views/decorators.py
>
> > >  > in _decode_post_data, line 40
>
> > >  > I am using the latest development version Mod_Python, Apache and
> > > Ubuntu
> > >  > Linux
>
> > >  > What can be the reason
>
> > >  > Thanks
>
> > >  > Ramdas S
>
> > >  > The Server is a dedicated server, and it also runs PHP, MySQl and
> > > some PHP
> > >  > and Python software.
>
> > > --
> > > Diego F. Toritto.
>
> --
> Diego F. Toritto.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Curious error with Session Variables

2007-05-09 Thread Diego pylorca
Nop,

when I disable mod-php5, the admin works correctly :(

my web browsers are firefox and opera and IE, but it is not a client host
problem :'(

On 5/8/07, John DeRosa <[EMAIL PROTECTED]> wrote:
>
>
> Perhaps check your firewall, anti-hijack, anti-trojan, etc. software.
> You may have a cookie guard enabled.
>
> For example, Webroot's Spy Sweeper has a set of "shields" for web
> browsers, and they include the blocking of certain tracking cookies and
> some IE security 'protection'.  Perhaps your system is running a similar
> product?
>
> John
>
> Diego pylorca wrote:
> > m
> >
> > I deployed my site, and in the admin when i try to login i get this
> message:
> >
> > "Looks like your browser isn't configured to accept cookies. Please
> > enable cookies, reload this page, and try again."
> >
> > the cookies is enabled.
> >
> > my server is a debian etch stable (intalled modpython apache2 and mysql
> > from apt)
> >
> > i ve run django/bin/daily_cleanup.py and flush the session table...
> >
> >
> > PD: sory by me bad english
> >
> >
> > On 4/4/07, *chasfs* <[EMAIL PROTECTED] > wrote:
> >
> >
> > There are several things going on here. If you have multiple django
> > sites
> > all setting sessions cookies, make sure that the SESSION_COOKIE_NAME
> > and SESSION_COOKIE_DOMAIN are unique in the respective settings.py
> > files.
> >
> > You also need to clean out old session rows in the django_session
> > database.
> > You can use django/bin/daily_cleanup.py to do this.
> >
> > Good luck,
> > -chasfs
> >
> > On Apr 3, 1:36 pm, "Ramdas S" < [EMAIL PROTECTED]
> > > wrote:
> >  > Since last few days I am getting this error on Django web sites
> > hosted.
> >  > Obviously it is clashing with something.
> >  >
> >  > When I work on admin interface to add or delete content, I get
> > logged off
> >  > and it takes some time for me to login again.
> >  >
> >  > I get the following messages
> >  >
> >  > Please enter a correct username and password. Note that both
> > fields are
> >  > case-sensitive.
> >  >
> >  > If I keep on trying then the message changes to
> >  >
> >  > Looks like your browser isn't configured to accept cookies.
> > Please enable
> >  > cookies, reload this page, and try again.
> >  >
> >  > Later if I persist
> >  >
> >  > I get this error
> >  >
> >  > -
> >  >
> >  > SuspiciousOperation at /admin/ User may have tampered with
> session
> >  > cookie. Request
> >  > Method: POST  Request URL: http://developeriq.com/admin/
> > Exception Type:
> >  > SuspiciousOperation  Exception Value: User may have tampered with
> > session
> >  > cookie.  Exception Location:
> >  >
> >
> /usr/lib/python2.4/site-packages/django/contrib/admin/views/decorators.py
> >
> >  > in _decode_post_data, line 40
> >  >
> >  > I am using the latest development version Mod_Python, Apache and
> > Ubuntu
> >  > Linux
> >  >
> >  > What can be the reason
> >  >
> >  > Thanks
> >  >
> >  > Ramdas S
> >  >
> >  > The Server is a dedicated server, and it also runs PHP, MySQl and
> > some PHP
> >  > and Python software.
> >
> >
> >
> >
> >
> >
> >
> > --
> > Diego F. Toritto.
> > >
>
>
> >
>


-- 
Diego F. Toritto.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Curious error with Session Variables

2007-05-08 Thread John DeRosa

Perhaps check your firewall, anti-hijack, anti-trojan, etc. software. 
You may have a cookie guard enabled.

For example, Webroot's Spy Sweeper has a set of "shields" for web 
browsers, and they include the blocking of certain tracking cookies and 
some IE security 'protection'.  Perhaps your system is running a similar 
product?

John

Diego pylorca wrote:
> m
> 
> I deployed my site, and in the admin when i try to login i get this message:
> 
> "Looks like your browser isn't configured to accept cookies. Please 
> enable cookies, reload this page, and try again."
> 
> the cookies is enabled.
> 
> my server is a debian etch stable (intalled modpython apache2 and mysql 
> from apt)
> 
> i ve run django/bin/daily_cleanup.py and flush the session table...
> 
> 
> PD: sory by me bad english
> 
> 
> On 4/4/07, *chasfs* <[EMAIL PROTECTED] > wrote:
> 
> 
> There are several things going on here. If you have multiple django
> sites
> all setting sessions cookies, make sure that the SESSION_COOKIE_NAME
> and SESSION_COOKIE_DOMAIN are unique in the respective settings.py
> files.
> 
> You also need to clean out old session rows in the django_session
> database.
> You can use django/bin/daily_cleanup.py to do this.
> 
> Good luck,
> -chasfs
> 
> On Apr 3, 1:36 pm, "Ramdas S" < [EMAIL PROTECTED]
> > wrote:
>  > Since last few days I am getting this error on Django web sites
> hosted.
>  > Obviously it is clashing with something.
>  >
>  > When I work on admin interface to add or delete content, I get
> logged off
>  > and it takes some time for me to login again.
>  >
>  > I get the following messages
>  >
>  > Please enter a correct username and password. Note that both
> fields are
>  > case-sensitive.
>  >
>  > If I keep on trying then the message changes to
>  >
>  > Looks like your browser isn't configured to accept cookies.
> Please enable
>  > cookies, reload this page, and try again.
>  >
>  > Later if I persist
>  >
>  > I get this error
>  >
>  > -
>  >
>  > SuspiciousOperation at /admin/ User may have tampered with session
>  > cookie. Request
>  > Method: POST  Request URL: http://developeriq.com/admin/
> Exception Type:
>  > SuspiciousOperation  Exception Value: User may have tampered with
> session
>  > cookie.  Exception Location:
>  >
> /usr/lib/python2.4/site-packages/django/contrib/admin/views/decorators.py
> 
>  > in _decode_post_data, line 40
>  >
>  > I am using the latest development version Mod_Python, Apache and
> Ubuntu
>  > Linux
>  >
>  > What can be the reason
>  >
>  > Thanks
>  >
>  > Ramdas S
>  >
>  > The Server is a dedicated server, and it also runs PHP, MySQl and
> some PHP
>  > and Python software.
> 
> 
> 
> 
> 
> 
> 
> -- 
> Diego F. Toritto.
> > 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Curious error with Session Variables

2007-05-08 Thread Diego pylorca
m

I deployed my site, and in the admin when i try to login i get this message:

"Looks like your browser isn't configured to accept cookies. Please enable
cookies, reload this page, and try again."

the cookies is enabled.

my server is a debian etch stable (intalled modpython apache2 and mysql from
apt)

i ve run django/bin/daily_cleanup.py and flush the session table...


PD: sory by me bad english


On 4/4/07, chasfs <[EMAIL PROTECTED]> wrote:
>
>
> There are several things going on here. If you have multiple django
> sites
> all setting sessions cookies, make sure that the SESSION_COOKIE_NAME
> and SESSION_COOKIE_DOMAIN are unique in the respective settings.py
> files.
>
> You also need to clean out old session rows in the django_session
> database.
> You can use django/bin/daily_cleanup.py to do this.
>
> Good luck,
> -chasfs
>
> On Apr 3, 1:36 pm, "Ramdas S" <[EMAIL PROTECTED]> wrote:
> > Since last few days I am getting this error on Django web sites hosted.
> > Obviously it is clashing with something.
> >
> > When I work on admin interface to add or delete content, I get logged
> off
> > and it takes some time for me to login again.
> >
> > I get the following messages
> >
> > Please enter a correct username and password. Note that both fields are
> > case-sensitive.
> >
> > If I keep on trying then the message changes to
> >
> > Looks like your browser isn't configured to accept cookies. Please
> enable
> > cookies, reload this page, and try again.
> >
> > Later if I persist
> >
> > I get this error
> >
> > -
> >
> > SuspiciousOperation at /admin/ User may have tampered with session
> > cookie. Request
> > Method: POST  Request URL:http://developeriq.com/admin/ Exception Type:
> > SuspiciousOperation  Exception Value: User may have tampered with
> session
> > cookie.  Exception Location:
> >
> /usr/lib/python2.4/site-packages/django/contrib/admin/views/decorators.py
> > in _decode_post_data, line 40
> >
> > I am using the latest development version Mod_Python, Apache and Ubuntu
> > Linux
> >
> > What can be the reason
> >
> > Thanks
> >
> > Ramdas S
> >
> > The Server is a dedicated server, and it also runs PHP, MySQl and some
> PHP
> > and Python software.
>
>
> >
>


-- 
Diego F. Toritto.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Curious error with Session Variables

2007-05-08 Thread Diego pylorca
For more info about me config:

Apache/2.2.3 (Debian) mod_python/3.2.10 Python/2.4.4 PHP/5.2.0-8+etch3
mod_ssl/2.2.3 OpenSSL/0.9.8c Server at *** Port 80

and my vhost:


ServerName ***.net
ServerAlias www..net
CustomLog /var/log/apache2/***/access.log combined
PythonPath "['/var/www/***/', '/usr/src/django/Django-0.96/'] +
sys.path"
SetHandler python-program
PythonHandler django.core.handlers.modpython
PythonDebug Off

# para que no haga falta restartear el apache
#PythonAutoreload On

SetEnv DJANGO_SETTINGS_MODULE pvs.settings
PythonInterpreter **_main

Alias /media /var/www/***/pvs/media

   SetHandler None




Thanks

On 5/8/07, Diego pylorca <[EMAIL PROTECTED]> wrote:
>
> m
>
> I deployed my site, and in the admin when i try to login i get this
> message:
>
> "Looks like your browser isn't configured to accept cookies. Please enable
> cookies, reload this page, and try again."
>
> the cookies is enabled.
>
> my server is a debian etch stable (intalled modpython apache2 and mysql
> from apt)
>
> i ve run django/bin/daily_cleanup.py and flush the session table...
>
>
> PD: sory by me bad english
>
>
> On 4/4/07, chasfs <[EMAIL PROTECTED]> wrote:
> >
> >
> > There are several things going on here. If you have multiple django
> > sites
> > all setting sessions cookies, make sure that the SESSION_COOKIE_NAME
> > and SESSION_COOKIE_DOMAIN are unique in the respective settings.py
> > files.
> >
> > You also need to clean out old session rows in the django_session
> > database.
> > You can use django/bin/daily_cleanup.py to do this.
> >
> > Good luck,
> > -chasfs
> >
> > On Apr 3, 1:36 pm, "Ramdas S" < [EMAIL PROTECTED]> wrote:
> > > Since last few days I am getting this error on Django web sites
> > hosted.
> > > Obviously it is clashing with something.
> > >
> > > When I work on admin interface to add or delete content, I get logged
> > off
> > > and it takes some time for me to login again.
> > >
> > > I get the following messages
> > >
> > > Please enter a correct username and password. Note that both fields
> > are
> > > case-sensitive.
> > >
> > > If I keep on trying then the message changes to
> > >
> > > Looks like your browser isn't configured to accept cookies. Please
> > enable
> > > cookies, reload this page, and try again.
> > >
> > > Later if I persist
> > >
> > > I get this error
> > >
> > > -
> > >
> > > SuspiciousOperation at /admin/ User may have tampered with session
> > > cookie. Request
> > > Method: POST  Request URL: http://developeriq.com/admin/ Exception
> > Type:
> > > SuspiciousOperation  Exception Value: User may have tampered with
> > session
> > > cookie.  Exception Location:
> > >
> > /usr/lib/python2.4/site-packages/django/contrib/admin/views/decorators.py
> > > in _decode_post_data, line 40
> > >
> > > I am using the latest development version Mod_Python, Apache and
> > Ubuntu
> > > Linux
> > >
> > > What can be the reason
> > >
> > > Thanks
> > >
> > > Ramdas S
> > >
> > > The Server is a dedicated server, and it also runs PHP, MySQl and some
> > PHP
> > > and Python software.
> >
> >
> > > >
> >
>
>
> --
> Diego F. Toritto.




-- 
Diego F. Toritto.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Curious error with Session Variables

2007-04-04 Thread chasfs

There are several things going on here. If you have multiple django
sites
all setting sessions cookies, make sure that the SESSION_COOKIE_NAME
and SESSION_COOKIE_DOMAIN are unique in the respective settings.py
files.

You also need to clean out old session rows in the django_session
database.
You can use django/bin/daily_cleanup.py to do this.

Good luck,
-chasfs

On Apr 3, 1:36 pm, "Ramdas S" <[EMAIL PROTECTED]> wrote:
> Since last few days I am getting this error on Django web sites hosted.
> Obviously it is clashing with something.
>
> When I work on admin interface to add or delete content, I get logged off
> and it takes some time for me to login again.
>
> I get the following messages
>
> Please enter a correct username and password. Note that both fields are
> case-sensitive.
>
> If I keep on trying then the message changes to
>
> Looks like your browser isn't configured to accept cookies. Please enable
> cookies, reload this page, and try again.
>
> Later if I persist
>
> I get this error
>
> -
>
> SuspiciousOperation at /admin/ User may have tampered with session
> cookie. Request
> Method: POST  Request URL:http://developeriq.com/admin/ Exception Type:
> SuspiciousOperation  Exception Value: User may have tampered with session
> cookie.  Exception Location:
> /usr/lib/python2.4/site-packages/django/contrib/admin/views/decorators.py
> in _decode_post_data, line 40
>
> I am using the latest development version Mod_Python, Apache and Ubuntu
> Linux
>
> What can be the reason
>
> Thanks
>
> Ramdas S
>
> The Server is a dedicated server, and it also runs PHP, MySQl and some PHP
> and Python software.


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Curious error with Session Variables

2007-04-03 Thread Kenneth Gonsalves


On 03-Apr-07, at 11:06 PM, Ramdas S wrote:

> Looks like your browser isn't configured to accept cookies. Please  
> enable cookies, reload this page, and try again.
>
>
> Later if I persist
>
> I get this error

one person on irc was getting this - he solved it by physically  
restarting apache - he was relying on the autoreload of mod_python

-- 

regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Curious error with Session Variables

2007-04-03 Thread Ramdas S
browsing through the user groups, I see that the issue is a clash between
Django and PHP4/5. I cannot turn them off, since some sites on our server
still use PHP. Is there any solution where we can ensure that Django does
not clash with PHP and live peacefully.

I am eager to know

Ramdas

On 4/3/07, Ramdas S <[EMAIL PROTECTED]> wrote:
>
> Since last few days I am getting this error on Django web sites hosted.
> Obviously it is clashing with something.
>
> When I work on admin interface to add or delete content, I get logged off
> and it takes some time for me to login again.
>
> I get the following messages
>
> Please enter a correct username and password. Note that both fields are
> case-sensitive.
>
> If I keep on trying then the message changes to
>
> Looks like your browser isn't configured to accept cookies. Please enable
> cookies, reload this page, and try again.
>
>
> Later if I persist
>
> I get this error
>
> -
>
> SuspiciousOperation at /admin/ User may have tampered with session cookie. 
> Request
> Method: POST  Request URL: http://developeriq.com/admin/  Exception Type:
> SuspiciousOperation  Exception Value: User may have tampered with session
> cookie.  Exception Location: 
> /usr/lib/python2.4/site-packages/django/contrib/admin/views/decorators.py
> in _decode_post_data, line 40
>
>
>
>
>
> I am using the latest development version Mod_Python, Apache and Ubuntu
> Linux
>
> What can be the reason
>
>
>
> Thanks
>
>
> Ramdas S
>
> The Server is a dedicated server, and it also runs PHP, MySQl and some PHP
> and Python software.
>
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Curious error with Session Variables

2007-04-03 Thread Ramdas S
Since last few days I am getting this error on Django web sites hosted.
Obviously it is clashing with something.

When I work on admin interface to add or delete content, I get logged off
and it takes some time for me to login again.

I get the following messages

Please enter a correct username and password. Note that both fields are
case-sensitive.

If I keep on trying then the message changes to

Looks like your browser isn't configured to accept cookies. Please enable
cookies, reload this page, and try again.


Later if I persist

I get this error

-

SuspiciousOperation at /admin/ User may have tampered with session
cookie. Request
Method: POST  Request URL: http://developeriq.com/admin/  Exception Type:
SuspiciousOperation  Exception Value: User may have tampered with session
cookie.  Exception Location:
/usr/lib/python2.4/site-packages/django/contrib/admin/views/decorators.py
in _decode_post_data, line 40





I am using the latest development version Mod_Python, Apache and Ubuntu
Linux

What can be the reason



Thanks


Ramdas S

The Server is a dedicated server, and it also runs PHP, MySQl and some PHP
and Python software.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---