Session question(s)

C

Carl Youngblood

Is there a way to tell the session class to store the session ID in a
session cookie rather than a persistent cookie? (In case you're not
familiar with my terminology, "session cookie" means a cookie that
disappears when the browser is closed.

Also, it would be nice if the session class had support for GET session
ID propagation rather than just using cookies. That way your site would
still work for paranoid people who disable cookies in their browser.

Thanks,
Carl Youngblood
 
Y

Yukihiro Matsumoto

Hi,

In message "Session question(s)"

|Is there a way to tell the session class to store the session ID in a
|session cookie rather than a persistent cookie? (In case you're not
|familiar with my terminology, "session cookie" means a cookie that
|disappears when the browser is closed.

I thought cookies would disappear unless you explicitly specify
"session_expires" option to CGI::Session.new().

|Also, it would be nice if the session class had support for GET session
|ID propagation rather than just using cookies. That way your site would
|still work for paranoid people who disable cookies in their browser.

CGI::Session passes both hidden field and cookie, so that it should
work for cookie disabled browsers. There's no way to stop cookies
though. Tell me if you find any problems.

matz.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,141
Messages
2,570,817
Members
47,364
Latest member
Stevanida

Latest Threads

Top