Jump to content

php session


orange08

Recommended Posts

  Quote

Also if the browser does block the session cookie, normally it's passed through the URL instead.

 

can you please explain a bit about 'normally it's passed through the URL instead'? i can't understand what you meant here...thanks

 

in the case the browser block the session, it's because of user make this setting to browser or browser block the session itself?

Link to comment
https://forums.phpfreaks.com/topic/157203-php-session/#findComment-828368
Share on other sites

  Quote

You can pass a session id or a session key through the URL and use $_GET to retrieve it. Of course, it must be very unique so someone can't just guess it.

 

as got people saying that browser can block session...

as a newbie, can i get some opinion from you all php experts here concerning this case? is that you all normally use session in your php site?

 

and is that most of the php site are using session?

Link to comment
https://forums.phpfreaks.com/topic/157203-php-session/#findComment-828570
Share on other sites

I always use sessions. The way users block sessions is by having cookies turned off or disabled. I do not think you should worry about this, at that is a small amount of users and they tend to know it is an issue.

 

Alternatively, you can configure apache/.htaccess to append the sessionid to GET data, which is not SEO friendly but would allow anyone browsing to not have cookies turned on. But as stated above, it is really not an issue at all.

Link to comment
https://forums.phpfreaks.com/topic/157203-php-session/#findComment-828573
Share on other sites

  Quote

I always use sessions. The way users block sessions is by having cookies turned off or disabled. I do not think you should worry about this, at that is a small amount of users and they tend to know it is an issue.

 

Alternatively, you can configure apache/.htaccess to append the sessionid to GET data, which is not SEO friendly but would allow anyone browsing to not have cookies turned on. But as stated above, it is really not an issue at all.

 

ok, thank you for the opinion and information. as a newbie, it's mean a lot to me.

Link to comment
https://forums.phpfreaks.com/topic/157203-php-session/#findComment-828580
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.