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++ Library : Other (not classified elsewhere) » Witz template cryptic error messages
Re: Witz template cryptic error messages [message #42942 is a reply to message #42940] Tue, 15 April 2014 13:19 Go to previous messageGo to previous message
mingodad is currently offline  mingodad
Messages: 53
Registered: February 2008
Location: Spain
Member
The problem happen because I have a "$post_identity()" instruction on a form but I'm accessing this page through GET somehow it dies here:
String GetIdentity(const Renderer *r)
{
	// This ugly hack expects that __identity__ is always present in r->var
	Http *http = const_cast<Http *>(dynamic_cast<const Http *>(r));
	if(!http)
		throw Exc("invalid POST identity call");
	String s = http->var[0]; ///<<<<<<<<< it dies here because I'm accessing through get / it's intended to do this way mixed GET/POST
	if(s.GetCount())
		return s;
	s = AsString(Uuid::Create());
	http->SessionSet0("__identity__", s);
	http->var[0] = s;
	return s;
}

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Skylark functions/links
Next Topic: [BUG] GLDraw on multiple window on the same time doesn't work
Goto Forum:
  


Current Time: Sat Apr 27 17:32:43 CEST 2024

Total time taken to generate the page: 0.70455 seconds