Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 213
  • Last Modified:

session handling

hi,
i want to use sessions in my web, so i understand there r 2 ways to handle their id: cookies and url.
as far as i know the cookies way is safer, so why in forums i see that they use the url to get the session id?
0
tamirvs
Asked:
tamirvs
  • 3
  • 3
1 Solution
 
TeRReFCommented:
Because that way the sessions will still work, even if users have cookies disabled in their browser...
0
 
tamirvsAuthor Commented:
is there a way to change the method to url after i check if the user have cookies disabled?
0
 
TeRReFCommented:
Well, you can 'manually' add the session id to the URL via GET and use it to continue the session in the next page.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
tamirvsAuthor Commented:
umm i ment is it possible to do a check whether the user has cookies enabled\disabled and to use the appropriate method according to it?
0
 
TeRReFCommented:
What language are you using?
0
 
tamirvsAuthor Commented:
php
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now