Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ MT-multithreading and servers » A few questions about Skylark sessions
Re: A few questions about Skylark sessions [message #38723 is a reply to message #38604] Wed, 09 January 2013 11:57 Go to previous messageGo to previous message
Peter is currently offline  Peter
Messages: 16
Registered: October 2012
Promising Member
I think currently I'm not advanced enough to add anything to U++ myself Smile I have another question though. Is it possible to pass Http parameter of Skylark handler by reference to another function called from that handler and use it there?

I'd like to write a wrapper function inside which I'd be able to access shared variable space and session variables:

SKYLARK(SomeHandler, "somepath")
{
   wrapper(http); 
}


void wrapper(Http& http)
{
  // can I access http passed from SomeHandler here?
}


Is the above safe/guaranteed to work? Can I access variables associated with http object from within wrapper?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [Web] using of an uninitialized value in expression
Next Topic: Something wrong with post_identity()?
Goto Forum:
  


Current Time: Sun May 11 00:04:41 CEST 2025

Total time taken to generate the page: 0.00835 seconds