Hi all
how can we manage session variables when cookies are disabled.
--
Have A pleasant Day
Chetan. D. Rane
Location: India
Contact: +91-9986057255
other ID: [EMAIL PROTECTED]
[EMAIL PROTECTED]
On Fri, Mar 7, 2008 at 1:15 PM, chetan rane [EMAIL PROTECTED] wrote:
Hi all
how can we manage session variables when cookies are disabled.
You can send the request with an appended PHPSESSID.
RTFM: http://us.php.net/session
--
/Dan
Daniel P. Brown
Senior Unix Geek
? while(1) {
Date: Fri, 7 Mar 2008 23:45:51 +0530 From: [EMAIL PROTECTED] To:
php-general@lists.php.net Subject: [PHP] SESSIOn when cookies are disabled
Hi all how can we manage session variables when cookies are disabled.
-- Have A pleasant Day Chetan. D. Rane Location: India Contact:
+91
Thank you very much its worked great!!!
On Fri, Mar 7, 2008 at 11:50 PM, Bastien Koert [EMAIL PROTECTED]
wrote:
Date: Fri, 7 Mar 2008 23:45:51 +0530 From: [EMAIL PROTECTED] To:
php-general@lists.php.net Subject: [PHP] SESSIOn when cookies are
disabled Hi all how can we manage session
Hi all,
I tried to start a session by this code:
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
http://www.w3.org/TR/html4/loose.dtd;
html
head
titleUntitled Document/title
meta http-equiv=Content-Type content=text/html; charset=iso-8859-1
/head
body
?php session_start();
On Tue, 2004-02-03 at 13:44, Rolf van de Krol wrote:
I tried to start a session by this code:
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
http://www.w3.org/TR/html4/loose.dtd;
html
head
titleUntitled Document/title
meta http-equiv=Content-Type content=text/html;
snip
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
http://www.w3.org/TR/html4/loose.dtd;
html
head
titleUntitled Document/title
meta http-equiv=Content-Type content=text/html;
charset=iso-8859-1
/head
body
?php session_start();
echo(session_id());
?
/body
/html
/snip
Take a look
Matt Matijevich wrote:
snip
Take a look at the manual for sessions
session_start() has to be the first thing called
It doesn't have to be the first thing called. It only has to be called
BEFORE any output is sent to the browser IF you are using cookie based.
--
By-Tor.com
It's all about the
i Wrote my own login, based on session, usong session_start();
I want the script to save the SessionID in a cookie @ the cients pc...
but it doesnt work! It never set a cookie but it ever add the session id
as a variable to all relating links in the script!
What i want is, to save the sessionID
I've tried to follow the example in the online manual, but and I believe my
session/cookie variables are being stored. Is there some specific way I need
to call them? Can anyone provide a brief example?
Thanks.
--Bob
--
+---+
|
Yo! I was wandering if there is someway to change the setting whether cookies should
be used or not when using session, in the php code rather than in php.ini.
Thankful for answers
/Broder
no offense for anyone at all. I was just wondering myself and threw it in
the group discussion.
Eelco.
I never wanted this question to be an offense for anyone. I thank you all
for your answers.
Regards
PHPLover
Lux [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL
day, February 03, 2001 11:25 PM
Subject: [PHP] Session With Cookies
How can I maintain a user session using cookies?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
Eelco de Vries wrote:
This will store a cookie with a userid and an unique number ($token) as
session-id (??).
If I'm not mistaken, this session-id is not checked here. Thus serves no
purose. Anybody who retrieve the cookie from the cookie file on the system
can use it to resume the session
In case of login/password required sites, I use the login and
password as
cookie values and have _no_ expiredate set. Every time a request is made
_both_ cookie values (login and password) are checked with that on the
server.
I would hope that you are not storing and matching the
How can I maintain a user session using cookies?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
I use $PHP_SESSID as a hidden variable in my forms, but when people turn off
cookies, I get
Warning: Failed to write session data (files). Please verify that the current
setting of session.save_path is correct (/tmp) in Unknown on line 0
The path looks fine and is writeable. But no session
i use the session-functions with php4 and everything works fine.
but if a visitor turns off cookies nothing seems to work..
is there a way to support a sessionid with cookies and thru the url ?
Yes. Compile PHP --with-trans-id (?) or just echo $PHP_SESSID (or whatever
it is) into all your
compile with --enable-trans-sid
works great for me :)
Chris Lee
Mediawaveonline.com
[EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
hi..
i use the session-functions with php4 and everything works fine.
but if a visitor turns off cookies nothing seems to
hi..
i use the session-functions with php4 and everything works fine.
but if a visitor turns off cookies nothing seems to work..
is there a way to support a sessionid with cookies and thru the url ?
thanks
markus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
Dear everyone
Can someone tell me how to use Session Object
because when the user login the page
I want to store the login,pass,and type_login so that I can pass this
throughout the process.
I found that i can store that by using cookies ,but the problem ,some
computer can't store cookies,and
Hello Hendry,
(HS == "Hendry Sumilo") [EMAIL PROTECTED] writes:
HS Can someone tell me how to use Session Object because when the
HS user login the page I want to store the login,pass,and type_login
HS so that I can pass this throughout the process. I found that i can
HS store that by using
22 matches
Mail list logo